Merge branch 'bugfix/touch_sleep_early_log' into 'master'

sleep: fixed the issue error log not printed

See merge request espressif/esp-idf!17567
This commit is contained in:
Marius Vikhammer
2022-03-24 18:32:07 +08:00

View File

@@ -367,7 +367,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