Merge branch 'change/esp_idf_ext1_unhold' into 'master'

Optimize parts of the sleep wake-up flow

See merge request espressif/esp-idf!47322
This commit is contained in:
He Binglin
2026-05-25 11:15:22 +08:00
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1820,7 +1820,7 @@ esp_err_t esp_sleep_disable_wakeup_source(esp_sleep_source_t source)
s_config.wakeup_triggers &= ~RTC_VBAT_UNDER_VOLT_TRIG_EN;
#endif
} else {
ESP_LOGE(TAG, "Incorrect wakeup source (%d) to disable.", (int) source);
ESP_EARLY_LOGE(TAG, "Incorrect wakeup source (%d) to disable.", (int) source);
return ESP_ERR_INVALID_STATE;
}
return ESP_OK;