summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradiron <adi@adiron.me>2019-02-06 20:35:45 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-06 20:35:45 +0100
commit80e733798a808ba1cf0d5371360c152fbb933717 (patch)
treec762454b91a9d1f5a9bf8556397bfaf927cf7964
parentf1be0236b632b0a86e32a1f362cd1f9517a30c9a (diff)
downloadqmk_firmware-80e733798a808ba1cf0d5371360c152fbb933717.tar.gz
qmk_firmware-80e733798a808ba1cf0d5371360c152fbb933717.tar.xz
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.c2
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;
uint8_t muse_offset = 70;
uint16_t muse_tempo = 50;
-void encoder_update(bool clockwise) {
+void encoder_update_user(uint8_t index, bool clockwise) {
if (muse_mode) {
if (IS_LAYER_ON(_RAISE)) {
if (clockwise) {