From f6f57a8f4728efaefa11188fefd987d167cd39df Mon Sep 17 00:00:00 2001 From: Dave Allie Date: Tue, 27 Jan 2026 22:02:17 +1100 Subject: [PATCH] Remove unused function --- src/main.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index d0c3c07f..8a081fd8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -289,13 +289,6 @@ bool isUsbConnected() { return digitalRead(UART0_RXD) == HIGH; } -bool isWakeupAfterFlashing() { - const auto wakeupCause = esp_sleep_get_wakeup_cause(); - const auto resetReason = esp_reset_reason(); - - return isUsbConnected() && (wakeupCause == ESP_SLEEP_WAKEUP_UNDEFINED) && (resetReason == ESP_RST_UNKNOWN); -} - bool isWakeupByPowerButton() { const auto wakeupCause = esp_sleep_get_wakeup_cause(); const auto resetReason = esp_reset_reason();