stm32/wpan: move schi command into sys

This commit is contained in:
xoviat
2023-06-15 21:02:10 -05:00
parent 64e3310e64
commit af451b5462
6 changed files with 56 additions and 38 deletions

View File

@@ -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 {