aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic/keymaps/mguterl/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/preonic/keymaps/mguterl/keymap.c')
-rw-r--r--keyboards/preonic/keymaps/mguterl/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/preonic/keymaps/mguterl/keymap.c b/keyboards/preonic/keymaps/mguterl/keymap.c
index ecaf26b8d..4e8738be2 100644
--- a/keyboards/preonic/keymaps/mguterl/keymap.c
+++ b/keyboards/preonic/keymaps/mguterl/keymap.c
@@ -240,7 +240,7 @@ uint16_t muse_counter = 0;
240uint8_t muse_offset = 70; 240uint8_t muse_offset = 70;
241uint16_t muse_tempo = 50; 241uint16_t muse_tempo = 50;
242 242
243void encoder_update_user(uint8_t index, bool clockwise) { 243bool encoder_update_user(uint8_t index, bool clockwise) {
244 if (muse_mode) { 244 if (muse_mode) {
245 if (IS_LAYER_ON(_RAISE)) { 245 if (IS_LAYER_ON(_RAISE)) {
246 if (clockwise) { 246 if (clockwise) {
@@ -270,6 +270,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
270 #endif 270 #endif
271 } 271 }
272 } 272 }
273 return true;
273} 274}
274 275
275void dip_switch_update_user(uint8_t index, bool active) { 276void dip_switch_update_user(uint8_t index, bool active) {