summaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco/nibble
diff options
context:
space:
mode:
authorDavid Luo <davidl2381@gmail.com>2021-07-05 13:15:24 -0400
committerGitHub <noreply@github.com>2021-07-05 10:15:24 -0700
commit03a9baa44ff5e43023d87e5ccd4e01a908f21389 (patch)
treefd7f4b5a272bff2c613bfdb1e778676808ec59d5 /keyboards/nullbitsco/nibble
parent4c1c112a16532270d7744c19875287f3880edc55 (diff)
[Keyboard] fix encoder_update_user for nullbitsco/nibble (#13451)
Diffstat (limited to 'keyboards/nullbitsco/nibble')
-rw-r--r--keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c b/keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c
index c39f42b361..b276a042b4 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) {