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. */ //设置接收超时时间