summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2022-01-05 12:03:21 -0800
committerGitHub <noreply@github.com>2022-01-05 20:03:21 +0000
commitfda5d982427502e8497866b814adb11ea386e294 (patch)
treee10d1815de094086db8268822773d6eacac8d38c
parent1c1e6fa47df8d1dc094973929afdfd1ca9333150 (diff)
[Keymap] Fix onekey oled keymap (#15751)
-rw-r--r--keyboards/handwired/onekey/keymaps/oled/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/handwired/onekey/keymaps/oled/keymap.c b/keyboards/handwired/onekey/keymaps/oled/keymap.c
index e020d5e4b6..244dc4facb 100644
--- a/keyboards/handwired/onekey/keymaps/oled/keymap.c
+++ b/keyboards/handwired/onekey/keymaps/oled/keymap.c
@@ -390,7 +390,7 @@ bool oled_task_user(void) {
// This mode is also forced when the screen update speed test is performed.
if (!need_update) {
if (test_mode != TEST_SLOW_UPDATE) {
- return;
+ return false;
}
}
need_update = false;