summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
```