summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd60/keymaps/birkir
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xiudi/xd60/keymaps/birkir')
-rw-r--r--keyboards/xiudi/xd60/keymaps/birkir/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/xiudi/xd60/keymaps/birkir/keymap.c b/keyboards/xiudi/xd60/keymaps/birkir/keymap.c
index fe7cd60662..ab129332c9 100644
--- a/keyboards/xiudi/xd60/keymaps/birkir/keymap.c
+++ b/keyboards/xiudi/xd60/keymaps/birkir/keymap.c
@@ -47,7 +47,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
edit = false;
}
- switch (biton32(state)) {
+ switch (get_highest_layer(state)) {
case 1:
rgblight_mode(1);
rgblight_setrgb(0xD3, 0x7F, 0xED);