summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/keymaps/pitty/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lets_split/keymaps/pitty/keymap.c')
-rw-r--r--keyboards/lets_split/keymaps/pitty/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/lets_split/keymaps/pitty/keymap.c b/keyboards/lets_split/keymaps/pitty/keymap.c
index d723e0c026..8bc32a1eb7 100644
--- a/keyboards/lets_split/keymaps/pitty/keymap.c
+++ b/keyboards/lets_split/keymaps/pitty/keymap.c
@@ -128,7 +128,7 @@ void persistent_default_layer_set(uint16_t default_layer) {
void matrix_scan_user(void) {
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
switch (layer) {
case _NAV:
if (RGB_INIT) {} else {