1
0
Fork 0

[Docs] Fix typo in dip switch example (#13688)

This commit is contained in:
Dasky 2021-07-24 18:44:31 +01:00 committed by GitHub
parent 93fc2cbc8a
commit d972919204
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ The callback functions can be inserted into your `<keyboard>.c`:
```c ```c
bool dip_switch_update_kb(uint8_t index, bool active) { bool dip_switch_update_kb(uint8_t index, bool active) {
if !(dip_switch_update_user(index, active)) { return false; } if (!dip_switch_update_user(index, active)) { return false; }
return true; return true;
} }
``` ```