summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2021-07-24 18:44:31 +0100
committerGitHub <noreply@github.com>2021-07-24 10:44:31 -0700
commitd972919204a5f1cb96d4e16c765d7028a423888a (patch)
tree49511dd4711a40ac52c62008ce15c3c642d1e72a /docs
parent93fc2cbc8a3ac5d5850c79a8d99ba7602b0738ee (diff)
[Docs] Fix typo in dip switch example (#13688)
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_dip_switch.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_dip_switch.md b/docs/feature_dip_switch.md
index 5e8c19bfa7..43a6a3faf7 100644
--- a/docs/feature_dip_switch.md
+++ b/docs/feature_dip_switch.md
@@ -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;
}
```