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