Compilation fixes

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-01-13 18:48:40 +01:00
parent 9bdde87b63
commit 5d2dd5aa75
3 changed files with 2 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ typedef struct msg_packet {
uint16_t len;
uint16_t current_len;
uint8_t data[CTAP_MAX_PACKET_SIZE];
} __packed msg_packet_t;
} __attribute__ ((__packed__)) msg_packet_t;
msg_packet_t msg_packet = { 0 };