summaryrefslogtreecommitdiff
path: root/keyboards/input_club/ergodox_infinity/keymaps/gordon
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/input_club/ergodox_infinity/keymaps/gordon')
-rw-r--r--keyboards/input_club/ergodox_infinity/keymaps/gordon/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/input_club/ergodox_infinity/keymaps/gordon/keymap.c b/keyboards/input_club/ergodox_infinity/keymaps/gordon/keymap.c
index c321d546fb..50e3238a7d 100644
--- a/keyboards/input_club/ergodox_infinity/keymaps/gordon/keymap.c
+++ b/keyboards/input_club/ergodox_infinity/keymaps/gordon/keymap.c
@@ -335,7 +335,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
void matrix_scan_user(void) {
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
ergodox_board_led_on();
ergodox_led_all_on();