diff options
Diffstat (limited to 'keyboards/kyria/keymaps/mattir/keymap.c')
-rw-r--r-- | keyboards/kyria/keymaps/mattir/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/kyria/keymaps/mattir/keymap.c b/keyboards/kyria/keymaps/mattir/keymap.c index 81a9e1eeb..0ee0f3d85 100644 --- a/keyboards/kyria/keymaps/mattir/keymap.c +++ b/keyboards/kyria/keymaps/mattir/keymap.c | |||
@@ -204,7 +204,7 @@ void oled_task_user(void) { | |||
204 | 204 | ||
205 | // Layer-specific encoder knob functions | 205 | // Layer-specific encoder knob functions |
206 | #ifdef ENCODER_ENABLE | 206 | #ifdef ENCODER_ENABLE |
207 | void encoder_update_user(uint8_t index, bool clockwise) { | 207 | bool encoder_update_user(uint8_t index, bool clockwise) { |
208 | if (index == 0) { // left knob | 208 | if (index == 0) { // left knob |
209 | switch (get_highest_layer(layer_state)) { | 209 | switch (get_highest_layer(layer_state)) { |
210 | case QWERTY: // Volume | 210 | case QWERTY: // Volume |
@@ -287,5 +287,6 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
287 | break; | 287 | break; |
288 | } | 288 | } |
289 | } | 289 | } |
290 | return true; | ||
290 | } | 291 | } |
291 | #endif | 292 | #endif |