aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic/keymaps/fsck/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/preonic/keymaps/fsck/keymap.c')
-rw-r--r--keyboards/preonic/keymaps/fsck/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/preonic/keymaps/fsck/keymap.c b/keyboards/preonic/keymaps/fsck/keymap.c
index 97a0ed608..8e2747f44 100644
--- a/keyboards/preonic/keymaps/fsck/keymap.c
+++ b/keyboards/preonic/keymaps/fsck/keymap.c
@@ -175,7 +175,7 @@ uint16_t muse_counter = 0;
175uint8_t muse_offset = 70; 175uint8_t muse_offset = 70;
176uint16_t muse_tempo = 50; 176uint16_t muse_tempo = 50;
177 177
178void encoder_update_user(uint8_t index, bool clockwise) { 178bool encoder_update_user(uint8_t index, bool clockwise) {
179 if (muse_mode) { 179 if (muse_mode) {
180 if (IS_LAYER_ON(_RAISE)) { 180 if (IS_LAYER_ON(_RAISE)) {
181 if (clockwise) { 181 if (clockwise) {
@@ -199,6 +199,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
199 unregister_code(KC_PGUP); 199 unregister_code(KC_PGUP);
200 } 200 }
201 } 201 }
202 return true;
202} 203}
203 204
204void dip_update(uint8_t index, bool active) { 205void dip_update(uint8_t index, bool active) {