mirror of
https://github.com/rene-dev/stmbl.git
synced 2026-09-21 22:34:19 +08:00
pack all the comms structs
This commit is contained in:
@@ -52,11 +52,13 @@ typedef struct{
|
||||
uint8_t padding : 3;
|
||||
} to_hv_t;
|
||||
|
||||
#pragma pack(1)
|
||||
typedef struct{
|
||||
packet_header_t head;
|
||||
to_hv_t data;
|
||||
} packet_to_hv_t;
|
||||
|
||||
#pragma pack(1)
|
||||
typedef struct{
|
||||
packet_header_t head;
|
||||
from_hv_t data;
|
||||
|
||||
Reference in New Issue
Block a user