remove ARRAY_SIZE2 since bootloader is only built with C

This commit is contained in:
hathach
2019-04-24 12:26:26 +07:00
parent 69a1b555e4
commit 3fec038ed8
2 changed files with 2 additions and 145 deletions

View File

@ -89,10 +89,10 @@ static struct TextFile const info[] = {
// WARNING -- code presumes each non-UF2 file content fits in single sector
// Cannot programmatically statically assert .content length
// for each element above.
STATIC_ASSERT(ARRAY_SIZE2(indexFile) < 512);
STATIC_ASSERT(ARRAY_SIZE(indexFile) < 512);
#define NUM_FILES (ARRAY_SIZE2(info))
#define NUM_FILES (ARRAY_SIZE(info))
#define NUM_DIRENTRIES (NUM_FILES + 1) // Code adds volume label as first root directory entry