stm32/wpan: fix data alignment

This commit is contained in:
xoviat
2023-06-21 16:34:56 -05:00
parent 0d67ef795e
commit 5247c1c795
2 changed files with 20 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ pub struct CmdSerialStub {
}
#[derive(Copy, Clone, Default)]
#[repr(C, packed)]
#[repr(C, packed(4))]
pub struct CmdPacket {
pub header: PacketHeader,
pub cmdserial: CmdSerial,