[Docs] Modify encoder_update_user example to return false (#14541)

This commit is contained in:
Dasky 2021-09-21 15:52:57 +01:00 committed by GitHub
parent 6b74e48f81
commit 19e33b685f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_UP);
}
}
return true;
return false;
}
```

View File

@ -76,7 +76,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_UP);
}
}
return true;
return false;
}
```