]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Fixed default Preonic keymap's encoder hadnling (#5067)
authoradiron <adi@adiron.me>
Wed, 6 Feb 2019 19:35:45 +0000 (21:35 +0200)
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Wed, 6 Feb 2019 19:35:45 +0000 (11:35 -0800)
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

index 33ca90f99b706d82dc2ec6f49c3bf262c396bf8d..d37882eabc6e6c5bb75373c91a44b8f52dfa0507 100644 (file)
@@ -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) {