From 8e405075a9bc14ee38bfece2a410ee7d28dd306c Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期日, 21 十月 2018 16:48:44 +0800 Subject: [PATCH] 解决开机读不到IDbug --- 源码/核心板/Src/application/dw_app.h | 14 +++++++++++++- 1 files changed, 13 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 54106ff..8bb4567 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" @@ -3,13 +3,25 @@ #define __DW_APP_H__ #include "stm32f10x.h" +#include "filters.h" + +#define WORK_MODE_TAG +//#define WORK_MODE_ANCHOR #define TAG_NUM_IN_SYS 256 #define DFT_RAND_DLY_TIM_MS 1 +extern double dist_cm; +extern uint32_t g_UWB_com_interval; +extern float dis_after_filter; +extern LPFilter_Frac* p_Dis_Filter; //测距用的低通滤波器 void Dw1000_Init(void); void Tag_App(void); void Anchor_App(void); - +void tag_sleep_configuraion(void); +extern uint16_t g_Tagdist[256]; +extern uint8_t g_flag_Taggetdist[256]; +extern void TagDistClear(void); +void Dw1000_App_Init(void); #endif -- Gitblit v1.9.3