Fixed screen turn on not working from keyboard input

This commit is contained in:
Dionysus 2024-06-05 20:20:53 -04:00
parent e77b192dee
commit 6dc045e66f
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -1303,6 +1303,9 @@ void parseAndDisplay(String line) {
void handleKeyboardInput(char key) { void handleKeyboardInput(char key) {
lastActivityTime = millis(); // Update last activity time to reset the inactivity timer lastActivityTime = millis(); // Update last activity time to reset the inactivity timer
if (!screenOn)
turnOnScreen();
static bool altPressed = false; static bool altPressed = false;
if (key == '\n' || key == '\r') { // Enter if (key == '\n' || key == '\r') { // Enter