summaryrefslogtreecommitdiffstats
path: root/keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c')
-rw-r--r--keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c b/keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c
index 7572b9e073..453cd2360d 100644
--- a/keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c
+++ b/keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c
@@ -224,7 +224,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);
rgblight_sethsv_noeeprom(180,100,255);