Skip to content

Commit

Permalink
[Docs] Fix typo in dip switch example (#13688)
Browse files Browse the repository at this point in the history
  • Loading branch information
daskygit authored Jul 24, 2021
1 parent 93fc2cb commit d972919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/feature_dip_switch.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The callback functions can be inserted into your `<keyboard>.c`:

```c
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;
}
```
Expand Down

0 comments on commit d972919

Please sign in to comment.