summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd75/keymaps/kloki
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xiudi/xd75/keymaps/kloki')
-rw-r--r--keyboards/xiudi/xd75/keymaps/kloki/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/xiudi/xd75/keymaps/kloki/keymap.c b/keyboards/xiudi/xd75/keymaps/kloki/keymap.c
index a630019347..d25a16fbb6 100644
--- a/keyboards/xiudi/xd75/keymaps/kloki/keymap.c
+++ b/keyboards/xiudi/xd75/keymaps/kloki/keymap.c
@@ -70,7 +70,7 @@ bool WINDOWN = false;
bool SHIFTDOWN = false;
void matrix_scan_user(void) {
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
switch (layer) {
case 0: