From 945ba42f7550d5a203e43d82b43ed82dc981d9e9 Mon Sep 17 00:00:00 2001 From: tao_z <tzj0429@163.com> Date: Wed, 30 Jun 2021 22:05:52 +0800 Subject: [PATCH] 霍尔输入中断正常,需要调试马达转动 --- CMSIS/GD/GD32E23x/Source/system_gd32e23x.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMSIS/GD/GD32E23x/Source/system_gd32e23x.c b/CMSIS/GD/GD32E23x/Source/system_gd32e23x.c index a3296ea..291b410 100644 --- a/CMSIS/GD/GD32E23x/Source/system_gd32e23x.c +++ b/CMSIS/GD/GD32E23x/Source/system_gd32e23x.c @@ -45,8 +45,8 @@ /* select a system clock by uncommenting the following line */ //#define __SYSTEM_CLOCK_8M_HXTAL (__HXTAL) //#define __SYSTEM_CLOCK_8M_IRC8M (__IRC8M) -#define __SYSTEM_CLOCK_72M_PLL_HXTAL (uint32_t)(72000000) -//#define __SYSTEM_CLOCK_72M_PLL_IRC8M_DIV2 (uint32_t)(72000000) +//#define __SYSTEM_CLOCK_72M_PLL_HXTAL (uint32_t)(72000000) +#define __SYSTEM_CLOCK_72M_PLL_IRC8M_DIV2 (uint32_t)(72000000) #define SEL_IRC8M 0x00 #define SEL_HXTAL 0x01 -- Gitblit v1.8.0