Use _BV macros, patch up others
This commit is contained in:
@@ -22,9 +22,9 @@
|
||||
#define BLEN_A 0
|
||||
#define BLEN_B 1
|
||||
#define BLEN_C 2
|
||||
#define EN_A BIT(BLEN_A)
|
||||
#define EN_B BIT(BLEN_B)
|
||||
#define EN_C BIT(BLEN_C)
|
||||
#define EN_A (_BV(BLEN_A))
|
||||
#define EN_B (_BV(BLEN_B))
|
||||
#define EN_C (_BV(BLEN_C))
|
||||
#define LCD_CLICKED (buttons&EN_C)
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user