Packed the mailbox event enum so that the mailbox structure size matches the gateway's structure size

This commit is contained in:
Th3maz1ng 2025-12-26 12:24:10 +01:00
parent 4af8ae852f
commit ac11fa4434

View File

@ -48,8 +48,9 @@ typedef enum
MAILBOX_LETTER = 0,
MAILBOX_PACKAGE,
MAILBOX_COLLECTED,
MAILBOX_TEST,
MAILBOX_UNKNOWN,
} MAILBOX_EVENT_e;
} __attribute__((__packed__)) MAILBOX_EVENT_e;
//Payload structure
typedef struct