aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/gitdrik/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/gitdrik/keymap.c')
-rw-r--r--keyboards/planck/keymaps/gitdrik/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/gitdrik/keymap.c b/keyboards/planck/keymaps/gitdrik/keymap.c
index bdaef2076..9cc5f7517 100644
--- a/keyboards/planck/keymaps/gitdrik/keymap.c
+++ b/keyboards/planck/keymaps/gitdrik/keymap.c
@@ -137,7 +137,7 @@ uint16_t muse_counter = 0;
137uint8_t muse_offset = 70; 137uint8_t muse_offset = 70;
138uint16_t muse_tempo = 50; 138uint16_t muse_tempo = 50;
139 139
140void encoder_update(bool clockwise) { 140bool encoder_update(bool clockwise) {
141 if (muse_mode) { 141 if (muse_mode) {
142 if (IS_LAYER_ON(_RIGHT)) { 142 if (IS_LAYER_ON(_RIGHT)) {
143 if (clockwise) { 143 if (clockwise) {
@@ -167,6 +167,7 @@ void encoder_update(bool clockwise) {
167 #endif 167 #endif
168 } 168 }
169 } 169 }
170 return true;
170} 171}
171 172
172void dip_switch_update_user(uint8_t index, bool active) { 173void dip_switch_update_user(uint8_t index, bool active) {