diff --git a/src/main.ino b/src/main.ino index e0efd26..de3538e 100644 --- a/src/main.ino +++ b/src/main.ino @@ -445,16 +445,11 @@ void handleIRC() { sendIRC(pingResponse); } else { parseAndDisplay(line); - lastActivityTime = millis(); // Reset activity timer - if (!screenOn) { - turnOnScreen(); // Turn on screen and backlight - } + lastActivityTime = millis(); } } } - - void parseAndDisplay(String line) { int firstSpace = line.indexOf(' '); int secondSpace = line.indexOf(' ', firstSpace + 1); @@ -534,6 +529,7 @@ void handleKeyboardInput(char key) { + void sendRawCommand(String command) { if (client.connected()) { sendIRC(command);