From 11e279420324ddd19266d58be21d1abdfc927ea7 Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期四, 07 三月 2024 16:19:31 +0800
Subject: [PATCH] V1.9 调整同步信号,提前5ms接收,超时时间增加5ms,同步更稳定

---
 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 c38c735..7af13fe 100644
--- a/Src/application/dw_app.c
+++ b/Src/application/dw_app.c
@@ -285,7 +285,7 @@
 //          target_count = GetLoraSyncCount()-(18000)/LPTIMER_LSB+sync_lost_count*1000;
 //      }else
       {
-        target_count = GetLoraSyncCount()-(18000)/LPTIMER_LSB;  //比上次收到的lora提前17ms唤醒(lora接收大概17ms),如果在同步间隔内,则会快速进入休眠。
+        target_count = GetLoraSyncCount()-(23000)/LPTIMER_LSB;  //比上次收到的lora提前17ms唤醒(lora接收大概17ms),如果在同步间隔内,则会快速进入休眠。
       }
       if(target_count<0)
       target_count+=32768;

--
Gitblit v1.9.3