From 9115414a73e9c9e47a6659be95c6f9f0304757f8 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期二, 19 十一月 2024 11:18:39 +0800 Subject: [PATCH] V2.6 改成SF8,搭配基站1.30 实现3秒定位一次 --- Src/application/dw_mbx_tag.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Src/application/dw_mbx_tag.c b/Src/application/dw_mbx_tag.c index cfb5003..884f7ed 100644 --- a/Src/application/dw_mbx_tag.c +++ b/Src/application/dw_mbx_tag.c @@ -400,6 +400,8 @@ } extern uint8_t rec_secdelay; u16 lora_send_count; +uint8_t send_count; + void Lora_Send_Poll(void) { if(Lora_send_flag) @@ -407,6 +409,7 @@ if(lora_send_count++%10==0||lora_jianting_flag) { Lora_send_flag=0; + if(rec_secdelay>0) { // loraled=YELLOW; @@ -416,6 +419,7 @@ LedTask(); LoraReportPoll(); LedOff_task(); + } } } \ No newline at end of file -- Gitblit v1.9.3