From f3ecc325c92d44d4bbe800d7cb8acc5cff5dbbef Mon Sep 17 00:00:00 2001 From: Rene Hopf Date: Wed, 7 Sep 2016 19:47:31 +0200 Subject: [PATCH] pack all the comms structs --- shared/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/common.h b/shared/common.h index b26b640b..385d032f 100644 --- a/shared/common.h +++ b/shared/common.h @@ -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;