aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/grant24/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/grant24/keymap.c')
-rw-r--r--keyboards/planck/keymaps/grant24/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/grant24/keymap.c b/keyboards/planck/keymaps/grant24/keymap.c
index ba8b3fcc1..7ed9a794e 100644
--- a/keyboards/planck/keymaps/grant24/keymap.c
+++ b/keyboards/planck/keymaps/grant24/keymap.c
@@ -279,7 +279,7 @@ uint16_t muse_counter = 0;
279uint8_t muse_offset = 70; 279uint8_t muse_offset = 70;
280uint16_t muse_tempo = 50; 280uint16_t muse_tempo = 50;
281 281
282void encoder_update(bool clockwise) { 282bool encoder_update(bool clockwise) {
283 if (muse_mode) { 283 if (muse_mode) {
284 if (IS_LAYER_ON(_RAISE)) { 284 if (IS_LAYER_ON(_RAISE)) {
285 if (clockwise) { 285 if (clockwise) {
@@ -309,6 +309,7 @@ void encoder_update(bool clockwise) {
309 #endif 309 #endif
310 } 310 }
311 } 311 }
312 return true;
312} 313}
313 314
314void dip_switch_update_user(uint8_t index, bool active) { 315void dip_switch_update_user(uint8_t index, bool active) {