From ca28f41448e14a2c08a9a5c7963f7df53b9d42ba Mon Sep 17 00:00:00 2001 From: bmy <2583236812@qq.com> Date: Tue, 16 Apr 2024 01:23:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E4=B8=8A=E6=AC=A1?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=B8=AD=E6=9C=AA=E4=BF=AE=E6=94=B9HSE=5FVAL?= =?UTF-8?q?UE=E4=B8=BA16MHz=E5=AF=BC=E8=87=B4=E5=A4=96=E8=AE=BE=E6=95=85?= =?UTF-8?q?=E9=9A=9C=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libraries/sdk/Peripheral/ch32v30x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/sdk/Peripheral/ch32v30x.h b/libraries/sdk/Peripheral/ch32v30x.h index 229e947..91cc573 100644 --- a/libraries/sdk/Peripheral/ch32v30x.h +++ b/libraries/sdk/Peripheral/ch32v30x.h @@ -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 */