summaryrefslogtreecommitdiff
path: root/keyboards/keebio/levinson/keymaps/issmirnov/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/levinson/keymaps/issmirnov/keymap.c')
-rw-r--r--keyboards/keebio/levinson/keymaps/issmirnov/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keebio/levinson/keymaps/issmirnov/keymap.c b/keyboards/keebio/levinson/keymaps/issmirnov/keymap.c
index d9edfebaa0..6de2279be4 100644
--- a/keyboards/keebio/levinson/keymaps/issmirnov/keymap.c
+++ b/keyboards/keebio/levinson/keymaps/issmirnov/keymap.c
@@ -91,7 +91,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
#ifdef RGBLIGHT_ENABLE
layer_state_set_rgb(state);
#endif
- uint8_t layer = biton32(state);
+ uint8_t layer = get_highest_layer(state);
combo_enable(); // by default, enable combos.
switch (layer) {
case 0: