sleep: fixed the issue error log not printed

This commit is contained in:
Michael (XIAO Xufeng)
2022-03-24 11:33:30 +08:00
parent ea27a8543a
commit 3503ee41ca

View File

@@ -364,7 +364,7 @@ static uint32_t IRAM_ATTR esp_sleep_start(uint32_t pd_flags)
{
#if CONFIG_IDF_TARGET_ESP32S3
if (esp_no_sleep) {
ESP_LOGE(TAG, "Sleep cannot be used with Touch/ULP for now.");
ESP_EARLY_LOGE(TAG, "Sleep cannot be used with Touch/ULP for now.");
abort();
}
#endif //CONFIG_IDF_TARGET_ESP32S3