diff options
author | Xelus22 <17491233+Xelus22@users.noreply.github.com> | 2021-06-29 13:30:39 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 20:30:39 -0700 |
commit | de8939aa5efb1dea9c048c3254b0462f6e21e822 (patch) | |
tree | b1e91d35882a6fa8e236456c8cf914e2b34413aa /keyboards/ramonimbao/squishytkl/keymaps/via | |
parent | 2b2e8bfdb7091cdc0587f7445df84d2414fa7207 (diff) |
[Keyboard] fix encoder void to bool (#13334)
Diffstat (limited to 'keyboards/ramonimbao/squishytkl/keymaps/via')
-rw-r--r-- | keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c b/keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c index fa7214149e..f671d45c58 100644 --- a/keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c +++ b/keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c @@ -51,7 +51,7 @@ void matrix_scan_user(void) { } } -void encoder_update_user(uint8_t index, bool clockwise) { +bool encoder_update_user(uint8_t index, bool clockwise) { if (clockwise) { encoder_cw.pressed = true; encoder_cw.time = (timer_read() | 1); @@ -61,4 +61,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { encoder_ccw.time = (timer_read() | 1); action_exec(encoder_ccw); } + return true; } |