mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
fix(esp_pm): fix missed ccompare update when another core is already in do_switch
This commit is contained in:
@ -626,6 +626,7 @@ static void IRAM_ATTR do_switch(pm_mode_t new_mode)
|
|||||||
}
|
}
|
||||||
#ifdef CONFIG_FREERTOS_SYSTICK_USES_CCOUNT
|
#ifdef CONFIG_FREERTOS_SYSTICK_USES_CCOUNT
|
||||||
if (s_need_update_ccompare[core_id]) {
|
if (s_need_update_ccompare[core_id]) {
|
||||||
|
update_ccompare();
|
||||||
s_need_update_ccompare[core_id] = false;
|
s_need_update_ccompare[core_id] = false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user