fix file api issue when compile using gcc toolchain
This commit is contained in:
parent
150165a793
commit
2321ee972b
|
@ -400,6 +400,8 @@ typedef struct __attribute(( packed )) {
|
||||||
u32_t size;
|
u32_t size;
|
||||||
// type of object
|
// type of object
|
||||||
spiffs_obj_type type;
|
spiffs_obj_type type;
|
||||||
|
// alignment2
|
||||||
|
u8_t _align2[4 - (sizeof(spiffs_obj_type)&3)==0 ? 4 : (sizeof(spiffs_obj_type)&3)];
|
||||||
// name of object
|
// name of object
|
||||||
u8_t name[SPIFFS_OBJ_NAME_LEN];
|
u8_t name[SPIFFS_OBJ_NAME_LEN];
|
||||||
} spiffs_page_object_ix_header;
|
} spiffs_page_object_ix_header;
|
||||||
|
|
Loading…
Reference in New Issue