summaryrefslogtreecommitdiff
path: root/keyboards/keebio/levinson/keymaps/xtonhasvim
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/levinson/keymaps/xtonhasvim')
-rw-r--r--keyboards/keebio/levinson/keymaps/xtonhasvim/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keebio/levinson/keymaps/xtonhasvim/keymap.c b/keyboards/keebio/levinson/keymaps/xtonhasvim/keymap.c
index 16aa965d7d..014e6c9c23 100644
--- a/keyboards/keebio/levinson/keymaps/xtonhasvim/keymap.c
+++ b/keyboards/keebio/levinson/keymaps/xtonhasvim/keymap.c
@@ -182,7 +182,7 @@ void rgbflag(uint8_t r, uint8_t g, uint8_t b, uint8_t rr, uint8_t gg, uint8_t bb
void set_state_leds(void) {
if (rgblight_get_mode() == 1) {
- switch (biton32(layer_state)) {
+ switch (get_highest_layer(layer_state)) {
case _RAISE:
rgbflag(C_BLU, C_GRN);
break;