mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
Add padding to align the struct in host build.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -79,6 +79,9 @@ typedef struct file {
|
|||||||
const uint8_t parent; //entry number in the whole table!!
|
const uint8_t parent; //entry number in the whole table!!
|
||||||
const uint8_t type;
|
const uint8_t type;
|
||||||
const uint8_t ef_structure;
|
const uint8_t ef_structure;
|
||||||
|
#ifdef ENABLE_EMULATION
|
||||||
|
uint32_t _padding;
|
||||||
|
#endif
|
||||||
} __attribute__ ((packed)) file_t;
|
} __attribute__ ((packed)) file_t;
|
||||||
|
|
||||||
extern bool file_has_data(file_t *);
|
extern bool file_has_data(file_t *);
|
||||||
|
|||||||
Reference in New Issue
Block a user