aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rgbkb/sol/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rgbkb/sol/keymaps/default/keymap.c')
-rw-r--r--keyboards/rgbkb/sol/keymaps/default/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/rgbkb/sol/keymaps/default/keymap.c b/keyboards/rgbkb/sol/keymaps/default/keymap.c
index 04af5165e..0883cb775 100644
--- a/keyboards/rgbkb/sol/keymaps/default/keymap.c
+++ b/keyboards/rgbkb/sol/keymaps/default/keymap.c
@@ -223,9 +223,9 @@ const uint16_t PROGMEM encoders[][NUMBER_OF_ENCODERS * 2][2] = {
223 ) 223 )
224}; 224};
225 225
226void encoder_update_user(uint8_t index, bool clockwise) { 226bool encoder_update_user(uint8_t index, bool clockwise) {
227 if (!is_keyboard_master()) 227 if (!is_keyboard_master())
228 return; 228 return true;
229 229
230#ifdef RGB_OLED_MENU 230#ifdef RGB_OLED_MENU
231 if (index == RGB_OLED_MENU) { 231 if (index == RGB_OLED_MENU) {
@@ -244,6 +244,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
244 if (keycode != KC_TRANSPARENT) 244 if (keycode != KC_TRANSPARENT)
245 tap_code16(keycode); 245 tap_code16(keycode);
246 } 246 }
247 return true;
247} 248}
248#endif 249#endif
249 250