summaryrefslogtreecommitdiffstats
path: root/keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c')
-rw-r--r--keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c b/keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c
index c4294c812e..bda83bb5da 100644
--- a/keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c
+++ b/keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c
@@ -241,7 +241,7 @@ void matrix_scan_user(void) {
}
layer_state_t layer_state_set_user(layer_state_t state) {
- switch (biton32(state)) {
+ switch (get_highest_layer(state)) {
case _BL:
custom_backlight_level(0);
break;