fix: 修正上次提交中未修改HSE_VALUE为16MHz导致外设故障的问题

This commit is contained in:
bmy
2024-04-16 01:23:19 +08:00
parent 75b9cc4a8f
commit ca28f41448

View File

@@ -22,7 +22,7 @@
#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 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 */
#define HSE_STARTUP_TIMEOUT ((uint16_t)0x1000) /* Time out for HSE start up */