[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;
}
```