diff --git a/src/main.cpp b/src/main.cpp index 2de730e8..b38beb0a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -171,8 +171,7 @@ void verifyWakeupLongPress() { if (abort) { // Button released too early. Returning to sleep. // IMPORTANT: Re-arm the wakeup trigger before sleeping again - esp_deep_sleep_enable_gpio_wakeup(1ULL << InputManager::POWER_BUTTON_PIN, ESP_GPIO_WAKEUP_GPIO_LOW); - esp_deep_sleep_start(); + gpio.startDeepSleep(); } }