mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
Update main.cpp
This commit is contained in:
parent
306b38e356
commit
bd3dc2ecd2
@ -152,7 +152,6 @@ void enterNewActivity(Activity* activity) {
|
||||
// Verify long press on wake-up from deep sleep
|
||||
void verifyWakeupLongPress() {
|
||||
// Skip verification for software resets (for example when calling esp_restart after sd card format)
|
||||
// All other cases (deep sleep wake, power on, etc.) still require long press
|
||||
if (esp_reset_reason() == ESP_RST_SW) {
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user