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 0049a8458092dc52930783afb56ad7ee24a87a05
parent 5df11770d65b1662131ac733ca30079c2da4269a Author: acidvegas <acid.vegas@acid.vegas> Date: Sun, 26 May 2024 01:04:28 -0400 Screen on turns back on from keyboard input now instead of any new message Diffstat:
|
1 file changed, 2 insertions(+), 6 deletions(-) |
diff --git 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); |