From 84929446cccf55acf18adbf5b545722a27d4e0fe Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Fri, 26 Dec 2025 12:03:51 +0100 Subject: [PATCH] To align structure size with the mailbox firmware, the mailbox event enum needs to be packed --- src/app/definition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/definition.h b/src/app/definition.h index 3da8a76..a06618b 100644 --- a/src/app/definition.h +++ b/src/app/definition.h @@ -30,7 +30,7 @@ typedef enum MAILBOX_COLLECTED, MAILBOX_TEST, MAILBOX_UNKNOWN, -} MAILBOX_EVENT_e; +} __attribute__((__packed__)) MAILBOX_EVENT_e; typedef struct {