Add padding to align the struct in host build.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
0bed03e522
commit
5508c082e5
1 changed files with 3 additions and 0 deletions
|
|
@ -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 *);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue