diff options
Diffstat (limited to 'keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c')
-rw-r--r-- | keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c b/keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c index 7f7863fdb..2ae07984d 100644 --- a/keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c +++ b/keyboards/rgbkb/sol/keymaps/brianweyer/keymap.c | |||
@@ -131,7 +131,7 @@ bool TOG_STATUS = false; | |||
131 | int RGB_current_mode; | 131 | int RGB_current_mode; |
132 | 132 | ||
133 | #ifdef ENCODER_ENABLE | 133 | #ifdef ENCODER_ENABLE |
134 | void encoder_update_user(uint8_t index, bool clockwise) { | 134 | bool encoder_update_user(uint8_t index, bool clockwise) { |
135 | if (index == 0) { /* First encoder */ | 135 | if (index == 0) { /* First encoder */ |
136 | if (clockwise) { | 136 | if (clockwise) { |
137 | tap_code(KC_VOLU); | 137 | tap_code(KC_VOLU); |
@@ -145,6 +145,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
145 | tap_code(KC_DOWN); | 145 | tap_code(KC_DOWN); |
146 | } | 146 | } |
147 | } | 147 | } |
148 | return true; | ||
148 | } | 149 | } |
149 | #endif | 150 | #endif |
150 | 151 | ||