Packed the mailbox event enum so that the mailbox structure size matches the gateway's structure size
This commit is contained in:
parent
4af8ae852f
commit
ac11fa4434
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user