summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez/keymaps/testing
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/testing')
-rw-r--r--keyboards/ergodox_ez/keymaps/testing/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ergodox_ez/keymaps/testing/keymap.c b/keyboards/ergodox_ez/keymaps/testing/keymap.c
index 5c1fc4af28..3aee63ddf1 100644
--- a/keyboards/ergodox_ez/keymaps/testing/keymap.c
+++ b/keyboards/ergodox_ez/keymaps/testing/keymap.c
@@ -62,7 +62,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
layer_state_t layer_state_set_user(layer_state_t state) {
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
ergodox_board_led_off();
ergodox_right_led_1_off();