aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32-wpan/src/cmd.rs
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-06-15 21:02:10 -0500
committerxoviat <[email protected]>2023-06-15 21:02:10 -0500
commitaf451b5462b4cbfaab6ac3ffe56ec9e981f460f7 (patch)
treeb758cebeb4f13475c7377d85032635658dac9602 /embassy-stm32-wpan/src/cmd.rs
parent64e3310e64ea31923980418e654f07c9a862e54c (diff)
stm32/wpan: move schi command into sys
Diffstat (limited to 'embassy-stm32-wpan/src/cmd.rs')
-rw-r--r--embassy-stm32-wpan/src/cmd.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/embassy-stm32-wpan/src/cmd.rs b/embassy-stm32-wpan/src/cmd.rs
index 1f7dae7f7..a023201ba 100644
--- a/embassy-stm32-wpan/src/cmd.rs
+++ b/embassy-stm32-wpan/src/cmd.rs
@@ -28,6 +28,14 @@ pub struct CmdSerial {
28 28
29#[derive(Copy, Clone, Default)] 29#[derive(Copy, Clone, Default)]
30#[repr(C, packed)] 30#[repr(C, packed)]
31pub struct CmdSerialStub {
32 pub ty: u8,
33 pub cmd_code: u16,
34 pub payload_len: u8,
35}
36
37#[derive(Copy, Clone, Default)]
38#[repr(C, packed)]
31pub struct CmdPacket { 39pub struct CmdPacket {
32 pub header: PacketHeader, 40 pub header: PacketHeader,
33 pub cmdserial: CmdSerial, 41 pub cmdserial: CmdSerial,