Fix typo (#276)
This commit is contained in:
parent
a718c53fe7
commit
eb09c450de
1 changed files with 3 additions and 3 deletions
|
@ -231,8 +231,8 @@ extern const uint16_t fn_actions[];
|
|||
|
||||
// For tri-layer
|
||||
void update_tri_layer(uint8_t layer1, uint8_t layer2, uint8_t layer3);
|
||||
#define IS_LAYER_ON(layer) ((layer_state) & (1UL<<(layer)))
|
||||
#define IS_LAYER_OFF(layer) ((!layer_state) & (1UL<<(layer)))
|
||||
#define IS_LAYER_ON(layer) (layer_state & (1UL << (layer)))
|
||||
#define IS_LAYER_OFF(layer) (~layer_state & (1UL << (layer)))
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue