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 8615d2db41
commit 9b03c9de9d

View File

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