Remove unused function

This commit is contained in:
Dave Allie 2026-01-27 22:02:17 +11:00
parent ca1178ee10
commit f6f57a8f47
No known key found for this signature in database
GPG Key ID: F2FDDB3AD8D0276F

View File

@ -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();