diff options
Diffstat (limited to 'keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c')
-rw-r--r-- | keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c b/keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c index 618d336cd..4a3a83e45 100644 --- a/keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c +++ b/keyboards/tkw/stoutgat/v2/keymaps/ansi/keymap.c | |||
@@ -27,7 +27,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
27 | }; | 27 | }; |
28 | 28 | ||
29 | #ifdef ENCODER_ENABLE | 29 | #ifdef ENCODER_ENABLE |
30 | void encoder_update_user(uint8_t index, bool clockwise){ | 30 | bool encoder_update_user(uint8_t index, bool clockwise){ |
31 | 31 | ||
32 | if (index == 0) { | 32 | if (index == 0) { |
33 | switch (get_highest_layer(layer_state)) { | 33 | switch (get_highest_layer(layer_state)) { |
@@ -68,5 +68,6 @@ void encoder_update_user(uint8_t index, bool clockwise){ | |||
68 | break; | 68 | break; |
69 | } | 69 | } |
70 | } | 70 | } |
71 | return true; | ||
71 | } | 72 | } |
72 | #endif | 73 | #endif |