diff options
-rw-r--r-- | docs/feature_dip_switch.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_dip_switch.md b/docs/feature_dip_switch.md index 5e8c19bfa..43a6a3faf 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`: | |||
24 | 24 | ||
25 | ```c | 25 | ```c |
26 | bool dip_switch_update_kb(uint8_t index, bool active) { | 26 | bool dip_switch_update_kb(uint8_t index, bool active) { |
27 | if !(dip_switch_update_user(index, active)) { return false; } | 27 | if (!dip_switch_update_user(index, active)) { return false; } |
28 | return true; | 28 | return true; |
29 | } | 29 | } |
30 | ``` | 30 | ``` |