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 509f55b917e..8e854c1e586 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 21f42d38b70..b93d9a9a281 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; } ```