summaryrefslogtreecommitdiff
path: root/chip/g/board_space.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/g/board_space.h')
-rw-r--r--chip/g/board_space.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/g/board_space.h b/chip/g/board_space.h
index 90b6c02287..1884a5c74c 100644
--- a/chip/g/board_space.h
+++ b/chip/g/board_space.h
@@ -37,7 +37,7 @@ struct sn_data {
/* Number of bits reserved for RMA counter */
#define RMA_COUNT_BITS 7
/* Value used to indicate device has been RMA'd */
-#define RMA_INDICATOR ((uint8_t) ~(1 << RMA_COUNT_BITS))
+#define RMA_INDICATOR ((uint8_t) ~BIT(RMA_COUNT_BITS))
/* Info1 Board space contents. */
struct info1_board_space {