Add padding to align the struct in host build.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2024-12-30 21:27:27 +01:00
parent 0bed03e522
commit 5508c082e5
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -79,6 +79,9 @@ typedef struct file {
const uint8_t parent; //entry number in the whole table!!
const uint8_t type;
const uint8_t ef_structure;
#ifdef ENABLE_EMULATION
uint32_t _padding;
#endif
} __attribute__ ((packed)) file_t;
extern bool file_has_data(file_t *);