summaryrefslogtreecommitdiff
path: root/keyboards/hineybush/h87a/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hineybush/h87a/keymaps')
-rw-r--r--keyboards/hineybush/h87a/keymaps/gam3cat/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/hineybush/h87a/keymaps/gam3cat/keymap.c b/keyboards/hineybush/h87a/keymaps/gam3cat/keymap.c
index d59438f6b3..d505d5171d 100644
--- a/keyboards/hineybush/h87a/keymaps/gam3cat/keymap.c
+++ b/keyboards/hineybush/h87a/keymaps/gam3cat/keymap.c
@@ -245,7 +245,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);