From c8d014eca672828e2416a4e2e158eb0e5ca53f9e Mon Sep 17 00:00:00 2001 From: dsluo Date: Sun, 4 Jul 2021 18:49:35 -0400 Subject: [PATCH] fix encoder_update_user signature --- keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c b/keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c index c39f42b361cf..b276a042b40c 100644 --- a/keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c +++ b/keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c @@ -81,7 +81,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } -void encoder_update_user(uint8_t index, bool clockwise) { +bool encoder_update_user(uint8_t index, bool clockwise) { if (clockwise) { tap_code(KC_VOLU); #ifdef OLED_DRIVER_ENABLE @@ -93,6 +93,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { process_record_encoder_oled(KC_VOLD); #endif } + return true; } void matrix_init_user(void) {