From 80e733798a808ba1cf0d5371360c152fbb933717 Mon Sep 17 00:00:00 2001 From: adiron Date: Wed, 6 Feb 2019 21:35:45 +0200 Subject: [PATCH] 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 --- keyboards/preonic/keymaps/default/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {