From a5c19ac86f2b15c5c5a73674295472511896cd6e Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期一, 17 十月 2022 23:04:14 +0800 Subject: [PATCH] fix KNet --- Src/system_stm32f0xx.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/system_stm32f0xx.c b/Src/system_stm32f0xx.c index 36b4652..d49af9f 100644 --- a/Src/system_stm32f0xx.c +++ b/Src/system_stm32f0xx.c @@ -97,7 +97,7 @@ * @{ */ #if !defined (HSE_VALUE) - #define HSE_VALUE ((uint32_t)8000000) /*!< Default value of the External oscillator in Hz. + #define HSE_VALUE ((uint32_t)12000000) /*!< Default value of the External oscillator in Hz. This value can be provided and adapted by the user application. */ #endif /* HSE_VALUE */ @@ -133,7 +133,7 @@ call the 2 first functions listed above, since SystemCoreClock variable is updated automatically. */ -uint32_t SystemCoreClock = 8000000; +uint32_t SystemCoreClock = 12000000; const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9}; const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4}; -- Gitblit v1.9.1