From 6b0fc09ae2e0b714670f17635d17bc273c854943 Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期一, 30 十月 2023 16:47:20 +0800
Subject: [PATCH] 版本v2.6,删除机制

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

diff --git a/Src/main.c b/Src/main.c
index 276f3c4..fc3b023 100644
--- a/Src/main.c
+++ b/Src/main.c
@@ -234,7 +234,7 @@
 	hardware_pici= STMFLASH_ReadHalfWord(FLASH_HARDWARE_VERSION_MAP+2);
 	hardware_type= STMFLASH_ReadHalfWord(FLASH_HARDWARE_VERSION_MAP+4);
 	//deca_sleep(1000);
-	g_com_map[VERSION] = (2<<8)|5;
+	g_com_map[VERSION] = (2<<8)|6;
     
 //	g_com_map[DEV_ID]=0x7;
 #ifdef DEBUG_MODE
@@ -271,13 +271,13 @@
 	current_time=GetLPTime();
     nomovesleep_time = g_com_map[NOMOVESLEEP_TIME];
     interval = g_com_map[COM_INTERVAL];
-    if(active_flag==0)
-	{   
-        interval=1000;
-		imu_enable=1;
-		nomovesleep_time = 10;
-		motor_enable=0;
-	}
+//    if(active_flag==0)
+//	{   
+//        interval=1000;
+//		imu_enable=1;
+//		nomovesleep_time = 10;
+//		motor_enable=0;
+//	}
     tag_frequency = 1000/interval;
 		if (HAL_LPTIM_TimeOut_Start_IT(&hlptim1, LPTIMER_1S_COUNT, slot_startcount) != HAL_OK)  //system time is 1010ms   1 puls=30.518us
   {

--
Gitblit v1.9.3