From 51393af87f6dc09a00e78d71dbff8a15721c1198 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期二, 18 二月 2025 10:29:46 +0800 Subject: [PATCH] V1.9 增加看门狗 --- APL/dw_app.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/APL/dw_app.c b/APL/dw_app.c index 5e83225..17352d8 100644 --- a/APL/dw_app.c +++ b/APL/dw_app.c @@ -185,6 +185,7 @@ *ts += ts_field[i] << (i * 8); } } +u8 flag_uwbinit_ok; extern u8 flag_ancupd_start; void Dw1000_Init(void) { @@ -212,6 +213,7 @@ dwt_setrxtimeout(1000);//设定接收超时时间,0位没有超时时间 dwt_rxenable(0);//打开接收 + flag_uwbinit_ok = 1; /* Set expected response's delay and timeout. See NOTE 4 and 5 below. * As this example only handles one incoming frame with always the same delay and timeout, those values can be set here once for all. */ //设置接收超时时间 -- Gitblit v1.9.3