aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/default/keymap.c')
-rw-r--r--keyboards/planck/keymaps/default/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/default/keymap.c b/keyboards/planck/keymaps/default/keymap.c
index 22ff24c92..304d320b6 100644
--- a/keyboards/planck/keymaps/default/keymap.c
+++ b/keyboards/planck/keymaps/default/keymap.c
@@ -256,7 +256,7 @@ uint16_t muse_counter = 0;
256uint8_t muse_offset = 70; 256uint8_t muse_offset = 70;
257uint16_t muse_tempo = 50; 257uint16_t muse_tempo = 50;
258 258
259void encoder_update(bool clockwise) { 259bool encoder_update(bool clockwise) {
260 if (muse_mode) { 260 if (muse_mode) {
261 if (IS_LAYER_ON(_RAISE)) { 261 if (IS_LAYER_ON(_RAISE)) {
262 if (clockwise) { 262 if (clockwise) {
@@ -286,6 +286,7 @@ void encoder_update(bool clockwise) {
286 #endif 286 #endif
287 } 287 }
288 } 288 }
289 return true;
289} 290}
290 291
291void dip_switch_update_user(uint8_t index, bool active) { 292void dip_switch_update_user(uint8_t index, bool active) {