aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/pascamel/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/pascamel/keymap.c')
-rw-r--r--keyboards/planck/keymaps/pascamel/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/pascamel/keymap.c b/keyboards/planck/keymaps/pascamel/keymap.c
index 9ee0dde35..852643218 100644
--- a/keyboards/planck/keymaps/pascamel/keymap.c
+++ b/keyboards/planck/keymaps/pascamel/keymap.c
@@ -157,7 +157,7 @@ uint16_t muse_counter = 0;
157uint8_t muse_offset = 70; 157uint8_t muse_offset = 70;
158uint16_t muse_tempo = 50; 158uint16_t muse_tempo = 50;
159 159
160void encoder_update(bool clockwise) { 160bool encoder_update(bool clockwise) {
161 if (muse_mode) { 161 if (muse_mode) {
162 if (IS_LAYER_ON(_RAISE)) { 162 if (IS_LAYER_ON(_RAISE)) {
163 if (clockwise) { 163 if (clockwise) {
@@ -181,6 +181,7 @@ void encoder_update(bool clockwise) {
181 unregister_code(KC_PGUP); 181 unregister_code(KC_PGUP);
182 } 182 }
183 } 183 }
184 return true;
184} 185}
185 186
186void dip_update(uint8_t index, bool active) { 187void dip_update(uint8_t index, bool active) {