stm32/wpan: move schi command into sys
This commit is contained in:
@@ -26,6 +26,14 @@ pub struct CmdSerial {
|
||||
pub cmd: Cmd,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Default)]
|
||||
#[repr(C, packed)]
|
||||
pub struct CmdSerialStub {
|
||||
pub ty: u8,
|
||||
pub cmd_code: u16,
|
||||
pub payload_len: u8,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Default)]
|
||||
#[repr(C, packed)]
|
||||
pub struct CmdPacket {
|
||||
|
||||
Reference in New Issue
Block a user