From 4a89e24804b91902def506a9e898293fa36ccb59 Mon Sep 17 00:00:00 2001
From: tao_z <tzj0429@163.com>
Date: Sat, 10 Jul 2021 11:52:25 +0800
Subject: [PATCH] 待调试电机转动

---
 USR/INC/pwm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/USR/INC/pwm.h b/USR/INC/pwm.h
index f3e99c5..da32571 100644
--- a/USR/INC/pwm.h
+++ b/USR/INC/pwm.h
@@ -5,7 +5,7 @@
 #define PERIOD_CAP (30000U)
 
 //48Mzhz / 3000 = 16Khz = 62.5us
-#define PERIOD_CMP (4000u)
+#define PERIOD_CMP (3000u)
 
 void TimerInit(void);
 void SetPwmDuty(uint16_t ch, uint32_t duty);

--
Gitblit v1.8.0