isfshax: ensure correct superblock alignment

This commit is contained in:
rw-r-r-0644 2021-06-01 13:20:55 +02:00
parent 99cded2762
commit 45d496db07

View File

@ -38,7 +38,7 @@ typedef struct isfshax_super
u16 fat[CLUSTER_COUNT];
isfs_fst fst[6143];
isfshax_info isfshax;
} PACKED ALIGNED(64) isfshax_super;
} PACKED ALIGNED(NAND_DATA_ALIGN) isfshax_super;
_Static_assert(sizeof(isfshax_super) == ISFSSUPER_SIZE, "isfshax_super must be 0x40000");