mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Use boolean AND instead of bitwise (possible typo)
Fortunately seems harmless.
This commit is contained in:
parent
240e8c6340
commit
65b41e2e59
|
@ -64,7 +64,7 @@ action_t action_for_key(uint8_t layer, keypos_t key)
|
|||
action.code = ACTION_MACRO(keycode & 0xFF);
|
||||
return action;
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
} else if (keycode >= BL_0 & keycode <= BL_15) {
|
||||
} else if (keycode >= BL_0 && keycode <= BL_15) {
|
||||
action_t action;
|
||||
action.code = ACTION_BACKLIGHT_LEVEL(keycode & 0x000F);
|
||||
return action;
|
||||
|
|
Loading…
Reference in a new issue