mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2025-12-18 15:17:42 +03:00
formatting.
This commit is contained in:
parent
e3158d2224
commit
4c7d46acc6
@ -243,7 +243,7 @@ void loop() {
|
||||
// Check for any user activity (button press or release)
|
||||
static unsigned long lastActivityTime = millis();
|
||||
if (inputManager.wasAnyPressed() || inputManager.wasAnyReleased()) {
|
||||
lastActivityTime = millis(); // Reset inactivity timer
|
||||
lastActivityTime = millis(); // Reset inactivity timer
|
||||
}
|
||||
|
||||
if (millis() - lastActivityTime >= AUTO_SLEEP_TIMEOUT_MS) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user