mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
fix(esp_pm): fix missed ccompare update when another core is already in do_switch
This commit is contained in:
parent
356e7b6954
commit
78362aff04
@ -626,6 +626,7 @@ static void IRAM_ATTR do_switch(pm_mode_t new_mode)
|
||||
}
|
||||
#ifdef CONFIG_FREERTOS_SYSTICK_USES_CCOUNT
|
||||
if (s_need_update_ccompare[core_id]) {
|
||||
update_ccompare();
|
||||
s_need_update_ccompare[core_id] = false;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user