From 99c7247d197118f210173ffd5bd213adc642e1bf Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期五, 05 十一月 2021 10:21:43 +0800
Subject: [PATCH] 去掉蜂鸣器测试

---
 Src/main.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Src/main.c b/Src/main.c
index e263881..dbc7602 100644
--- a/Src/main.c
+++ b/Src/main.c
@@ -130,15 +130,15 @@
 //	LED_TB_OFF;
 //}else{
 //	LED_TR_OFF;
-if(active_flag)
-	{
-	current_time=HAL_LPTIM_ReadCounter(&hlptim1);
-	if(current_time-beepcount>3||beepcount>current_time)
-	{
-		beepcount = current_time;
-		LED_BLINK(GPIOA, GPIO_PIN_11);
-	}
-}
+//if(active_flag)
+//	{
+//	current_time=HAL_LPTIM_ReadCounter(&hlptim1);
+//	if(current_time-beepcount>3||beepcount>current_time)
+//	{
+//		beepcount = current_time;
+//		LED_BLINK(GPIOA, GPIO_PIN_11);
+//	}
+//}
 		
 		
 	//motor_state=2;

--
Gitblit v1.9.3