Fixed screen turn on not working from keyboard input
This commit is contained in:
parent
e77b192dee
commit
6dc045e66f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user