summaryrefslogtreecommitdiffstats
path: root/layouts/community/ergodox/townk_osx
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/townk_osx')
-rw-r--r--layouts/community/ergodox/townk_osx/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/community/ergodox/townk_osx/keymap.c b/layouts/community/ergodox/townk_osx/keymap.c
index 6799ad7460..c79d74d6eb 100644
--- a/layouts/community/ergodox/townk_osx/keymap.c
+++ b/layouts/community/ergodox/townk_osx/keymap.c
@@ -229,7 +229,7 @@ uint8_t current_layer = BASE;
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
ergodox_led_all_off();
ergodox_led_all_set(LED_BRIGHTNESS_LO);