From d05cd5ff2b25146e3728a4f333724b3b3e1107b6 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 13 May 2019 22:32:44 +0200 Subject: [PATCH] Internal packet structs don't need to be packed, only the wired structs --- include/pm3_cmd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pm3_cmd.h b/include/pm3_cmd.h index 2f175799b..de66f312f 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -65,7 +65,7 @@ typedef struct { uint32_t asDwords[PM3_CMD_DATA_SIZE / 4]; } data; bool ng; // does it store NG data or OLD data? -} PACKED PacketCommandNG; +} PacketCommandNG; // For reception and CRC check typedef struct { @@ -111,7 +111,7 @@ typedef struct { uint32_t asDwords[PM3_CMD_DATA_SIZE / 4]; } data; bool ng; // does it store NG data or OLD data? -} PACKED PacketResponseNG; +} PacketResponseNG; // For reception and CRC check typedef struct {