From f953be595ef8c2d17c533405e26093b2049f469a Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期二, 25 十月 2022 16:36:41 +0800
Subject: [PATCH] 1.修改定位通讯标志位,不会和其他系统干扰。 2.2.需要配合定位基站V2.111使用

---
 Src/stm32l0xx_it.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Src/stm32l0xx_it.c b/Src/stm32l0xx_it.c
index 378cef0..bae7fd0 100644
--- a/Src/stm32l0xx_it.c
+++ b/Src/stm32l0xx_it.c
@@ -152,6 +152,7 @@
 void EXTI0_1_IRQHandler(void)
 {
   /* USER CODE BEGIN EXTI0_1_IRQn 0 */
+	SystemClock_Config();
 	if(GET_IMUINT)
 	{
 		nomove_count = 0;
@@ -168,7 +169,7 @@
 		MOTOR_OFF;	
 		}
 		nomove_count = 0;
-		waitusart_timer = tag_frequency*USART_KEEPWAKE_TIME;
+//		waitusart_timer = tag_frequency*USART_KEEPWAKE_TIME;
 	//	UsartInit();
 		
 		//	MOTOR_ON;		

--
Gitblit v1.9.3