From 918bf35c164c342772dbe7112632f63ccd82cbda Mon Sep 17 00:00:00 2001 From: "s.migaud" Date: Tue, 11 Jun 2024 02:06:56 +0200 Subject: [PATCH] Fix shift bug (there's only three levels, not four) --- src/input/SerialKeyboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/SerialKeyboard.cpp b/src/input/SerialKeyboard.cpp index e5a6a669ee..9cbb090392 100644 --- a/src/input/SerialKeyboard.cpp +++ b/src/input/SerialKeyboard.cpp @@ -162,7 +162,7 @@ int32_t SerialKeyboard::runOnce() } else { //then it's shift shift += 1; - if (shift > 3){ + if (shift > 2){ shift = 0; } }