To align structure size with the mailbox firmware, the mailbox event enum needs to be packed

This commit is contained in:
Th3maz1ng 2025-12-26 12:03:51 +01:00
parent 0d84ac8729
commit 84929446cc

View File

@ -30,7 +30,7 @@ typedef enum
MAILBOX_COLLECTED,
MAILBOX_TEST,
MAILBOX_UNKNOWN,
} MAILBOX_EVENT_e;
} __attribute__((__packed__)) MAILBOX_EVENT_e;
typedef struct
{