From f91c026378ada7cf97de4cc28c4e3bea38fee9b2 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 10 八月 2023 11:27:18 +0800 Subject: [PATCH] 版本2.70,加入防撞标签代码。 --- Src/application/dw_app.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Src/application/dw_app.c b/Src/application/dw_app.c index 545bd53..3da4694 100644 --- a/Src/application/dw_app.c +++ b/Src/application/dw_app.c @@ -81,7 +81,7 @@ SINGLEPOLL, }tag_state=STARTPOLL; static dwt_config_t config = { - 2, /* Channel number. */ + 5, /* Channel number. */ DWT_PRF_64M, /* Pulse repetition frequency. */ DWT_PLEN_128, /* Preamble length. */ DWT_PAC8, /* Preamble acquisition chunk size. Used in RX only. */ @@ -1258,6 +1258,8 @@ // Poll(); break; } + FZNearPoll(); + dwt_forcetrxoff(); userkey_state = !GET_USERKEY; dwt_entersleep(); } -- Gitblit v1.9.3