acid-drop

- Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.acid.vegas/-c.git
Log | Files | Refs | Archive | README | LICENSE

commit e697bf679052e8edb8332185a3afc9d2ae5f957f
parent 6dc045e66f1f8b45046f33270713a851955df495
Author: acidvegas <acid.vegas@acid.vegas>
Date: Wed, 5 Jun 2024 20:24:48 -0400

Fixed missing return statement on keyboard input

Diffstat:
Msrc/main.ino | 4+++-

1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main.ino b/src/main.ino
@@ -1303,8 +1303,10 @@ void parseAndDisplay(String line) {
 void handleKeyboardInput(char key) {
     lastActivityTime = millis(); // Update last activity time to reset the inactivity timer
 
-    if (!screenOn)
+    if (!screenOn) {
         turnOnScreen();
+        return;
+    }
 
     static bool altPressed = false;