From affb754b56216235932464dbaffbaf34638cd8f2 Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期四, 30 一月 2020 10:02:15 +0800
Subject: [PATCH] 增加标签第一个数据不输出

---
 源码/核心板/Src/application/dw_app.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.h"
index e3388ff..174550c 100644
--- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.h"
+++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/dw_app.h"
@@ -6,6 +6,8 @@
 #include "stm32f10x.h"
 #include "filters.h"
 #include "ADC.h"
+#include "TrackingDiff.h"
+
 //#define WORK_MODE_TAG
 #define WORK_MODE_ANCHOR
 
@@ -19,6 +21,7 @@
 #define GROUP_TAG_NUM 2
 #define TAG_NUM_IN_SYS				256
 #define DFT_RAND_DLY_TIM_MS			1
+extern TrackingDiffClass *pUWBDistanceTrackingDiff;
 extern u16 poll_timer,tag_timer;
 extern int8_t tag_delaytime;
 extern u32 dev_id;
@@ -37,7 +40,7 @@
 void Tag_App(void);
 void Anchor_App(void);
 void tag_sleep_configuraion(void);
-extern uint16_t g_Tagdist[TAG_NUM_IN_SYS];
+extern int32_t g_Tagdist[TAG_NUM_IN_SYS];
 extern uint8_t g_flag_Taggetdist[256];
 extern void TagDistClear(void);
 void Dw1000_App_Init(void);

--
Gitblit v1.9.3