From cbe3b0a4c27e0d28628e4c57a7835526591c6201 Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期三, 06 三月 2024 22:10:15 +0800
Subject: [PATCH] V1.5 增加电量,心跳包功能,但是好像有bug,一段时间后UWB不测距。

---
 Src/application/dw_app.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Src/application/dw_app.c b/Src/application/dw_app.c
index c040cb8..c38c735 100644
--- a/Src/application/dw_app.c
+++ b/Src/application/dw_app.c
@@ -72,7 +72,7 @@
 #define FINAL_MSG_FINAL_TX_TS_IDX 18
 #define FINAL_MSG_TS_LEN 4
 
-#define _UWB_4G
+//#define _UWB_4G
 
 static dwt_config_t config = {
 #ifdef _UWB_4G
@@ -250,7 +250,7 @@
 typedef enum{	Next_Poll_RANGE,
                 Next_Poll_LORASYNC,
 }nextpoll_enum;
-nextpoll_enum next_poll_state;
+nextpoll_enum next_poll_state = Next_Poll_RANGE;
 extern uint8_t sync_lost_count;
 void Tag_App(void)//发送模式(TAG标签)
 {  	

--
Gitblit v1.9.3