pack all the comms structs

This commit is contained in:
Rene Hopf
2016-09-07 19:47:31 +02:00
parent 4e5e475e1f
commit f3ecc325c9
+2
View File
@@ -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;