diff --git a/include/flash.h b/include/flash.h index 45533ba9b..da238471a 100644 --- a/include/flash.h +++ b/include/flash.h @@ -39,6 +39,8 @@ #define KiB (1024) #define MiB (1024 * KiB) +#define BIT(x) (1<<(x)) + /* Assumes `n` and `a` are at most 64-bit wide (to avoid typeof() operator). */ #define ALIGN_DOWN(n, a) ((n) & ~((uint64_t)(a) - 1)) diff --git a/nicintel_eeprom.c b/nicintel_eeprom.c index af5fa2162..efd4232c3 100644 --- a/nicintel_eeprom.c +++ b/nicintel_eeprom.c @@ -69,7 +69,6 @@ #define EEWR_ADDR 2 #define EEWR_DATA 16 -#define BIT(x) (1<