summaryrefslogtreecommitdiff
path: root/firmware/export/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/system.h')
-rw-r--r--firmware/export/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index 489ed8dc12..d5da2225d6 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -266,8 +266,8 @@ static inline uint32_t swap_odd_even32(uint32_t value)
#endif /* !SIMULATOR */
-#ifndef TEST_BIT_N
-#define TEST_BIT_N(n, mask) ((1UL << (n)) & (mask))
+#ifndef BIT_N
+#define BIT_N(n) (1UL << (n))
#endif
/* Declare this as HIGHEST_IRQ_LEVEL if they don't differ */