fix(esp_pm): fix missed ccompare update when another core is already in do_switch

This commit is contained in:
wuzhenghui
2024-11-12 21:21:17 +08:00
parent 37b51f1ec8
commit 8038821546

View File

@@ -480,6 +480,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