mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
fix(esp_system): fix cannot pd cpu and rc fast at the same time during light sleep
This commit is contained in:
@@ -651,7 +651,7 @@ static uint32_t IRAM_ATTR esp_sleep_start(uint32_t pd_flags)
|
|||||||
if (!s_ultra_low_enabled) {
|
if (!s_ultra_low_enabled) {
|
||||||
sleep_flags |= RTC_SLEEP_NO_ULTRA_LOW;
|
sleep_flags |= RTC_SLEEP_NO_ULTRA_LOW;
|
||||||
}
|
}
|
||||||
if (rtc_dig_8m_enabled()) {
|
if (periph_using_8m) {
|
||||||
sleep_flags |= RTC_SLEEP_DIG_USE_8M;
|
sleep_flags |= RTC_SLEEP_DIG_USE_8M;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user