Use ARRAYLEN when possible

This commit is contained in:
Philippe Teuwen committed 2026-08-19 15:51:54 +02:00
1 parent 5518e6af77
commit 827fce4839
4 files changed
+6 -10

No files matched your search

-4
View File
@@ -121,10 +121,6 @@ extern uint8_t spi_flash_pages64k;
bool FlashDetect(void);
#ifndef ARRAYLEN
# define ARRAYLEN(x) (sizeof(x)/sizeof((x)[0]))
#endif
#endif // #ifndef AS_BOOTROM
#endif // FLASHMEM_H_