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 */