summaryrefslogtreecommitdiff
path: root/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c')
-rw-r--r--keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c b/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c
index b00cf80f5c..a6fa5ed722 100644
--- a/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c
+++ b/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c
@@ -147,7 +147,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return false;
}
uint8_t layer;
- layer = biton32(layer_state);
+ layer = get_highest_layer(layer_state);
switch (keycode) {
case FPH_1 ... FPH_9: