summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/frenchdev/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/frenchdev/keymaps')
-rw-r--r--keyboards/handwired/frenchdev/keymaps/default/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/handwired/frenchdev/keymaps/default/keymap.c b/keyboards/handwired/frenchdev/keymaps/default/keymap.c
index 2d917b412e..11463a0162 100644
--- a/keyboards/handwired/frenchdev/keymaps/default/keymap.c
+++ b/keyboards/handwired/frenchdev/keymaps/default/keymap.c
@@ -209,7 +209,7 @@ void press_underscore(void) {
uint8_t old_layer=_BASE;
void matrix_scan_user(void) {
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
frenchdev_led_1_off();
frenchdev_led_2_off();