diff --git a/components/esp_pm/pm_impl.c b/components/esp_pm/pm_impl.c index d9b3c1b6f3..0b189fc0a3 100644 --- a/components/esp_pm/pm_impl.c +++ b/components/esp_pm/pm_impl.c @@ -625,6 +625,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