mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-28 04:36:48 +08:00
Merge branch 'bugfix/fix_timer_freq_error_when_switch_cpu_freq' into 'master'
Fix timer frequency error when switch CPU frequncy See merge request sdk/ESP8266_RTOS_SDK!416
This commit is contained in:
@ -111,7 +111,9 @@ Adjust this frequency to taste (it's not real-time anyway!).
|
||||
#ifdef XT_XT2000 /* deprecated */
|
||||
#define XT_CLOCK_FREQ 16500000 /* 16.5 MHz (XT2000 default) */
|
||||
#else
|
||||
#define XT_CLOCK_FREQ 80000000
|
||||
//#define XT_CLOCK_FREQ 80000000
|
||||
#define XT_BOARD
|
||||
#define xtbsp_clock_freq_hz() 80000000
|
||||
#endif
|
||||
#endif /* XT_SIMULATOR */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user