Use ARRAYLEN when possible
This commit is contained in:
4 files changed
+6
-10
No files matched your search
@@ -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_
|
||||
Reference in new issue
Block a user