fix RTOS SysTick cycle time error caused by DFS

This commit is contained in:
Li Shuai 2021-06-24 20:47:20 +08:00
parent 35f8caf1cb
commit c460905fd9

View File

@ -426,7 +426,7 @@ static void IRAM_ATTR on_freq_update(uint32_t old_ticks_per_us, uint32_t ticks_p
}
#if __XTENSA__
#if XT_RTOS_TIMER_INT
#ifdef XT_RTOS_TIMER_INT
/* Calculate new tick divisor */
_xt_tick_divisor = ticks_per_us * MHZ / XT_TICK_PER_SEC;
#endif