From 65b41e2e59e274354e57ed36cad097823f111f1a Mon Sep 17 00:00:00 2001 From: Wojciech Siewierski Date: Sun, 7 Feb 2016 11:48:28 +0100 Subject: [PATCH] Use boolean AND instead of bitwise (possible typo) Fortunately seems harmless. --- quantum/keymap_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c index 057c0c60..ae109da1 100644 --- a/quantum/keymap_common.c +++ b/quantum/keymap_common.c @@ -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;