summaryrefslogtreecommitdiff
path: root/keyboards/aidansmithdotdev/fine40/fine40.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/aidansmithdotdev/fine40/fine40.c')
-rw-r--r--keyboards/aidansmithdotdev/fine40/fine40.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/keyboards/aidansmithdotdev/fine40/fine40.c b/keyboards/aidansmithdotdev/fine40/fine40.c
index 73c453b6c0..0bd190321a 100644
--- a/keyboards/aidansmithdotdev/fine40/fine40.c
+++ b/keyboards/aidansmithdotdev/fine40/fine40.c
@@ -71,15 +71,15 @@ bool oled_task_kb(void) {
#ifdef ENCODER_ENABLE
bool encoder_update_kb(uint8_t index, bool clockwise) {
- if (!encoder_update_user(index, clockwise)) {
- return false;
- }
- // Volume control
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- return false;
+ if (!encoder_update_user(index, clockwise)) {
+ return false;
+ }
+ // Volume control
+ if (clockwise) {
+ tap_code(KC_VOLU);
+ } else {
+ tap_code(KC_VOLD);
+ }
+ return true;
}
#endif \ No newline at end of file