diff options
| author | adiron <adi@adiron.me> | 2019-02-06 21:35:45 +0200 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-02-06 11:35:45 -0800 |
| commit | 80e733798a808ba1cf0d5371360c152fbb933717 (patch) | |
| tree | c762454b91a9d1f5a9bf8556397bfaf927cf7964 | |
| parent | f1be0236b632b0a86e32a1f362cd1f9517a30c9a (diff) | |
| download | qmk_firmware-80e733798a808ba1cf0d5371360c152fbb933717.tar.gz qmk_firmware-80e733798a808ba1cf0d5371360c152fbb933717.zip | |
Fixed default Preonic keymap's encoder hadnling (#5067)
The function had the wrong name & arguments. This commit fixes this.
This in turn should also close issue #4997
| -rw-r--r-- | keyboards/preonic/keymaps/default/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/preonic/keymaps/default/keymap.c b/keyboards/preonic/keymaps/default/keymap.c index 33ca90f99..d37882eab 100644 --- a/keyboards/preonic/keymaps/default/keymap.c +++ b/keyboards/preonic/keymaps/default/keymap.c | |||
| @@ -233,7 +233,7 @@ uint16_t muse_counter = 0; | |||
| 233 | uint8_t muse_offset = 70; | 233 | uint8_t muse_offset = 70; |
| 234 | uint16_t muse_tempo = 50; | 234 | uint16_t muse_tempo = 50; |
| 235 | 235 | ||
| 236 | void encoder_update(bool clockwise) { | 236 | void encoder_update_user(uint8_t index, bool clockwise) { |
| 237 | if (muse_mode) { | 237 | if (muse_mode) { |
| 238 | if (IS_LAYER_ON(_RAISE)) { | 238 | if (IS_LAYER_ON(_RAISE)) { |
| 239 | if (clockwise) { | 239 | if (clockwise) { |
