mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	fix RTOS SysTick cycle time error caused by DFS
This commit is contained in:
		@@ -416,7 +416,7 @@ static void IRAM_ATTR on_freq_update(uint32_t old_ticks_per_us, uint32_t ticks_p
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if __XTENSA__
 | 
					#if __XTENSA__
 | 
				
			||||||
#if XT_RTOS_TIMER_INT
 | 
					#ifdef XT_RTOS_TIMER_INT
 | 
				
			||||||
    /* Calculate new tick divisor */
 | 
					    /* Calculate new tick divisor */
 | 
				
			||||||
    _xt_tick_divisor = ticks_per_us * MHZ / XT_TICK_PER_SEC;
 | 
					    _xt_tick_divisor = ticks_per_us * MHZ / XT_TICK_PER_SEC;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user