mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +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
|
||||
if (s_need_update_ccompare[core_id]) {
|
||||
update_ccompare();
|
||||
s_need_update_ccompare[core_id] = false;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user