mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-05 07:07:38 +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();
|
||||
|
||||
// verify power button press duration after we've read settings.
|
||||
// verifyWakeupLongPress(); // Disabled for debugging to prevent auto-shutdown
|
||||
// Serial.printf("[%lu] [DBG] Wakeup long press verified\n", millis());
|
||||
verifyWakeupLongPress();
|
||||
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
|
||||
Serial.printf("[%lu] [ ] Starting CrossPoint version " CROSSPOINT_VERSION "\n", millis());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user