aboutsummaryrefslogtreecommitdiff
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
parent93fc2cbc8a3ac5d5850c79a8d99ba7602b0738ee (diff)
downloadqmk_firmware-d972919204a5f1cb96d4e16c765d7028a423888a.tar.gz
qmk_firmware-d972919204a5f1cb96d4e16c765d7028a423888a.zip
[Docs] Fix typo in dip switch example (#13688)
-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 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
26bool dip_switch_update_kb(uint8_t index, bool active) { 26bool 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```