mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-05 15:17:37 +03:00
Fix: Restore power button check to prevent accidental wake-up
This commit is contained in:
parent
1237f01ac2
commit
98d5d64cfc
@ -301,8 +301,8 @@ void setup() {
|
|||||||
Serial.flush();
|
Serial.flush();
|
||||||
|
|
||||||
// verify power button press duration after we've read settings.
|
// verify power button press duration after we've read settings.
|
||||||
// verifyWakeupLongPress(); // Disabled for debugging to prevent auto-shutdown
|
verifyWakeupLongPress();
|
||||||
// Serial.printf("[%lu] [DBG] Wakeup long press verified\n", millis());
|
Serial.printf("[%lu] [DBG] Wakeup long press verified\n", millis());
|
||||||
|
|
||||||
// First serial output only here to avoid timing inconsistencies for power button press duration verification
|
// First serial output only here to avoid timing inconsistencies for power button press duration verification
|
||||||
Serial.printf("[%lu] [ ] Starting CrossPoint version " CROSSPOINT_VERSION "\n", millis());
|
Serial.printf("[%lu] [ ] Starting CrossPoint version " CROSSPOINT_VERSION "\n", millis());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user