fix: 修正上次提交中未修改HSE_VALUE为16MHz导致外设故障的问题
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
#define __MPU_PRESENT 0 /* Other CH32 devices does not provide an MPU */
|
#define __MPU_PRESENT 0 /* Other CH32 devices does not provide an MPU */
|
||||||
#define __Vendor_SysTickConfig 0 /* Set to 1 if different SysTick Config is used */
|
#define __Vendor_SysTickConfig 0 /* Set to 1 if different SysTick Config is used */
|
||||||
|
|
||||||
#define HSE_VALUE ((uint32_t)8000000) /* Value of the External oscillator in Hz */
|
#define HSE_VALUE ((uint32_t)16000000) /* Value of the External oscillator in Hz */
|
||||||
|
|
||||||
/* In the following line adjust the External High Speed oscillator (HSE) Startup Timeout value */
|
/* In the following line adjust the External High Speed oscillator (HSE) Startup Timeout value */
|
||||||
#define HSE_STARTUP_TIMEOUT ((uint16_t)0x1000) /* Time out for HSE start up */
|
#define HSE_STARTUP_TIMEOUT ((uint16_t)0x1000) /* Time out for HSE start up */
|
||||||
|
|||||||
Reference in New Issue
Block a user