aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/jotanck/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/jotanck/keymaps/default/keymap.c')
-rw-r--r--keyboards/handwired/jotanck/keymaps/default/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/handwired/jotanck/keymaps/default/keymap.c b/keyboards/handwired/jotanck/keymaps/default/keymap.c
index 2467559a6..3de30d396 100644
--- a/keyboards/handwired/jotanck/keymaps/default/keymap.c
+++ b/keyboards/handwired/jotanck/keymaps/default/keymap.c
@@ -78,9 +78,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
78 78
79}; 79};
80 80
81uint32_t layer_state_set_user(uint32_t state) { 81layer_state_t layer_state_set_user(layer_state_t state) {
82 #ifdef JOTANCK_LEDS 82 #ifdef JOTANCK_LEDS
83 switch (biton32(state)) { 83 switch (get_highest_layer(state)) {
84 case _LOWER: 84 case _LOWER:
85 writePinHigh(JOTANCK_LED1); 85 writePinHigh(JOTANCK_LED1);
86 writePinLow(JOTANCK_LED2); 86 writePinLow(JOTANCK_LED2);