From 19e33b685fe6ca05bc1c986a272c790ea0cdba45 Mon Sep 17 00:00:00 2001 From: Dasky <32983009+daskygit@users.noreply.github.com> Date: Tue, 21 Sep 2021 15:52:57 +0100 Subject: [PATCH] [Docs] Modify encoder_update_user example to return false (#14541) --- docs/feature_encoders.md | 2 +- docs/ja/feature_encoders.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/feature_encoders.md b/docs/feature_encoders.md index 509f55b917efa936cf574ddb35841ac58bae4fff..8e854c1e58683c24c8271449fd6a92c07c356386 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 21f42d38b70c1c0092cce6ed55c6f5cd5aa7a583..b93d9a9a281e68a13be4681f0d1dcd5e8ef3cfcf 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; } ```