diff options
Diffstat (limited to 'keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c')
-rw-r--r-- | keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c b/keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c index 860361e81..96e19bf86 100644 --- a/keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c +++ b/keyboards/rgbkb/sol/keymaps/danielhklein/keymap.c | |||
@@ -164,7 +164,7 @@ bool TOG_STATUS = false; | |||
164 | int RGB_current_mode; | 164 | int RGB_current_mode; |
165 | 165 | ||
166 | #ifdef ENCODER_ENABLE | 166 | #ifdef ENCODER_ENABLE |
167 | void encoder_update_user(uint8_t index, bool clockwise) { | 167 | bool encoder_update_user(uint8_t index, bool clockwise) { |
168 | if (index == 0) { /* First encoder */ | 168 | if (index == 0) { /* First encoder */ |
169 | if (clockwise) { | 169 | if (clockwise) { |
170 | tap_code(KC_VOLU); | 170 | tap_code(KC_VOLU); |
@@ -178,6 +178,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
178 | tap_code(KC_VOLD); | 178 | tap_code(KC_VOLD); |
179 | } | 179 | } |
180 | } | 180 | } |
181 | return true; | ||
181 | } | 182 | } |
182 | #endif | 183 | #endif |
183 | 184 | ||