From 89fd0aa609f215a33731e8babbef13e97fff27c3 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期二, 12 十月 2021 17:31:56 +0800 Subject: [PATCH] 超级小组汇总模式V1.45 --- 源码/核心板/Src/application/dw_app.h | 6 +++++- 1 files changed, 5 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..bc6b392 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,8 +40,9 @@ 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); +void SyncPoll(u8 sync_seq); #endif -- Gitblit v1.9.3