Do not pack file_t to avoid misalignments.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
e2b3eacd89
commit
cec3b4c7f6
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@
|
|||
|
||||
#define MAX_DEPTH 4
|
||||
|
||||
typedef PACK(struct file {
|
||||
typedef struct file {
|
||||
const uint16_t fid;
|
||||
const uint8_t parent; //entry number in the whole table!!
|
||||
const uint8_t *name;
|
||||
|
|
@ -95,7 +95,7 @@ typedef PACK(struct file {
|
|||
const uint8_t ef_structure;
|
||||
uint8_t *data; //should include 2 bytes len at begining
|
||||
const uint8_t acl[7];
|
||||
}) file_t;
|
||||
} file_t;
|
||||
|
||||
extern bool file_has_data(file_t *);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue