From de3d43245fd148de72fa7a70d2f7b95d02590a7e Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期三, 26 七月 2023 18:01:39 +0800
Subject: [PATCH] V2.15 回复出厂逻辑,解决恢复出厂就死机的BUG

---
 Src/application/dw_app.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Src/application/dw_app.c b/Src/application/dw_app.c
index 4a135d9..6d5afed 100644
--- a/Src/application/dw_app.c
+++ b/Src/application/dw_app.c
@@ -78,7 +78,7 @@
 	NEARPOLL,
 }tag_state=GETNEARMSG;
 static dwt_config_t config = {
-	5,               /* Channel number. */
+	2,               /* Channel number. */
 	DWT_PRF_64M,     /* Pulse repetition frequency. */
 	DWT_PLEN_128,    /* Preamble length. */
 	DWT_PAC8,        /* Preamble acquisition chunk size. Used in RX only. */

--
Gitblit v1.9.3