aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/atreus/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/atreus/keymap.c')
-rw-r--r--keyboards/planck/keymaps/atreus/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/atreus/keymap.c b/keyboards/planck/keymaps/atreus/keymap.c
index b78a7017e..c9a721a1f 100644
--- a/keyboards/planck/keymaps/atreus/keymap.c
+++ b/keyboards/planck/keymaps/atreus/keymap.c
@@ -144,7 +144,7 @@ uint16_t muse_counter = 0;
144uint8_t muse_offset = 70; 144uint8_t muse_offset = 70;
145uint16_t muse_tempo = 50; 145uint16_t muse_tempo = 50;
146 146
147void encoder_update(bool clockwise) { 147bool encoder_update(bool clockwise) {
148 if (muse_mode) { 148 if (muse_mode) {
149 if (IS_LAYER_ON(_RAISE)) { 149 if (IS_LAYER_ON(_RAISE)) {
150 if (clockwise) { 150 if (clockwise) {
@@ -174,6 +174,7 @@ void encoder_update(bool clockwise) {
174 #endif 174 #endif
175 } 175 }
176 } 176 }
177 return true;
177} 178}
178 179
179void dip_switch_update_user(uint8_t index, bool active) { 180void dip_switch_update_user(uint8_t index, bool active) {