From d69b18402a9def110c26f0350291ab504da1b878 Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期三, 10 四月 2024 14:05:35 +0800
Subject: [PATCH] V1.7,修改为被拆卸的时候10s发一次心跳包,4G不再休眠,。

---
 MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm |   44 +++++++++++++++++++++++++++++++++++---------
 1 files changed, 35 insertions(+), 9 deletions(-)

diff --git a/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm b/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm
index cd0ce55..1aa9863 100644
--- a/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm
+++ b/MDK-ARM/STM32L071RB/STM32L071RB.build_log.htm
@@ -27,18 +27,44 @@
 <h2>Output:</h2>
 *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
 Build target 'STM32L071RB'
-compiling main.c...
-../APL/App.h(39): warning:  #1295-D: Deprecated declaration Main_Poll - give arg types
+compiling App.c...
+..\APL\App.h(39): warning:  #1295-D: Deprecated declaration Main_Poll - give arg types
   void Main_Poll();
-../APL/lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
-  void LIS3DH_ENTER_STY_Init();
-../APL/lis3dh_driver.h(68): warning:  #1295-D: Deprecated declaration LIS3DH_Data_Init - give arg types
-  void LIS3DH_Data_Init()	;
-../Core/Src/main.c: 3 warnings, 0 errors
+..\APL\App.c(98): warning:  #223-D: function "HIDO_UtilSnprintf" declared implicitly
+      HIDO_UINT32 u32Len = HIDO_UtilSnprintf((HIDO_CHAR *)LBS_data, sizeof(LBS_data), "%s,,,,,0,00,00.0,,,,,,*00,%X,%02x,%x,%d,%d,%d%\r\n",
+..\APL\App.c(197): warning:  #177-D: variable "powerled_state"  was declared but never referenced
+       static u8 powerled_state=0;
+..\APL\App.c(275): warning:  #186-D: pointless comparison of unsigned integer with zero
+      if (g_com_map[POWERx] < 0)
+..\APL\App.c(246): warning:  #177-D: variable "temp"  was declared but never referenced
+      float temp;
+..\APL\App.c(247): warning:  #177-D: variable "temp2"  was declared but never referenced
+      uint16_t temp2;
+..\APL\App.c(248): warning:  #177-D: variable "i"  was declared but never referenced
+      uint16_t i;
+..\APL\App.c(444): warning:  #177-D: variable "uwbchecksum"  was declared but never referenced
+      u16 uwbchecksum;
+..\APL\App.c(777): warning:  #1-D: last line of file ends without a newline
+  //以上是源代码,被拆除时间接性关闭4G
+..\APL\App.c(49): warning:  #177-D: variable "l_bDismantle"  was declared but never referenced
+  static HIDO_BOOL l_bDismantle = HIDO_FALSE;
+..\APL\App.c(50): warning:  #177-D: variable "l_bCancelAlarm"  was declared but never referenced
+  static HIDO_BOOL l_bCancelAlarm = HIDO_FALSE;
+..\APL\App.c(51): warning:  #177-D: variable "l_u32DismantleAlarmTick"  was declared but never referenced
+  static HIDO_UINT32 l_u32DismantleAlarmTick = 0;
+..\APL\App.c(53): warning:  #177-D: variable "l_bCharge"  was declared but never referenced
+  static HIDO_BOOL l_bCharge = HIDO_FALSE;
+..\APL\App.c(54): warning:  #177-D: variable "l_u32CancelChargeReport"  was declared but never referenced
+  static HIDO_BOOL l_u32CancelChargeReport = HIDO_FALSE;
+..\APL\App.c(55): warning:  #177-D: variable "l_u32ChargeTick"  was declared but never referenced
+  static HIDO_UINT32 l_u32ChargeTick = 0;
+..\APL\App.c(57): warning:  #177-D: variable "l_u32LocationTick"  was declared but never referenced
+  static HIDO_UINT32 l_u32LocationTick = 0;
+..\APL\App.c: 16 warnings, 0 errors
 linking...
-Program Size: Code=62292 RO-data=5196 RW-data=1724 ZI-data=18716  
+Program Size: Code=62204 RO-data=5196 RW-data=1724 ZI-data=18716  
 FromELF: creating hex file...
-"STM32L071RB\STM32L071RB.axf" - 0 Error(s), 3 Warning(s).
+"STM32L071RB\STM32L071RB.axf" - 0 Error(s), 16 Warning(s).
 
 <h2>Software Packages used:</h2>
 

--
Gitblit v1.9.3