summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2021-09-21 15:52:57 +0100
committerGitHub <noreply@github.com>2021-09-21 07:52:57 -0700
commit19e33b685fe6ca05bc1c986a272c790ea0cdba45 (patch)
tree3a4a2ade45dab09b4d7411745e1b4113d46cb3f4
parent6b74e48f81fd22f4b982c686df9c8d1f8efae571 (diff)
downloadqmk_firmware-19e33b685fe6ca05bc1c986a272c790ea0cdba45.tar.gz
qmk_firmware-19e33b685fe6ca05bc1c986a272c790ea0cdba45.zip
[Docs] Modify encoder_update_user example to return false (#14541)
-rw-r--r--docs/feature_encoders.md2
-rw-r--r--docs/ja/feature_encoders.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/feature_encoders.md b/docs/feature_encoders.md
index 509f55b917..8e854c1e58 100644
--- a/docs/feature_encoders.md
+++ b/docs/feature_encoders.md
@@ -81,7 +81,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_UP);
}
}
- return true;
+ return false;
}
```
diff --git a/docs/ja/feature_encoders.md b/docs/ja/feature_encoders.md
index 21f42d38b7..b93d9a9a28 100644
--- a/docs/ja/feature_encoders.md
+++ b/docs/ja/feature_encoders.md
@@ -76,7 +76,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_UP);
}
}
- return true;
+ return false;
}
```