summaryrefslogtreecommitdiffstats
path: root/layouts/community/ergodox/dave/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/dave/keymap.c')
-rw-r--r--layouts/community/ergodox/dave/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/community/ergodox/dave/keymap.c b/layouts/community/ergodox/dave/keymap.c
index efa270c406..c54e50ba98 100644
--- a/layouts/community/ergodox/dave/keymap.c
+++ b/layouts/community/ergodox/dave/keymap.c
@@ -147,7 +147,7 @@ void matrix_scan_user(void) {
*/
static uint8_t leds[4];
uint8_t led;
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
ergodox_board_led_off();