From fc785f07b58e88a15cabddef20ba9cfb2d0507c3 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期二, 26 三月 2024 14:14:10 +0800 Subject: [PATCH] 1.11 --- Src/application/dw_mbx_tag.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Src/application/dw_mbx_tag.c b/Src/application/dw_mbx_tag.c index 3fd0d37..8fa2247 100644 --- a/Src/application/dw_mbx_tag.c +++ b/Src/application/dw_mbx_tag.c @@ -291,7 +291,7 @@ uint16_t heatbeat_count = HEATBEAT_UPDATE_TIME-10; int16_t intheight; #define LORA_REPORT_MAXANC_NUM 7 -u8 tarray[20]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}; +u8 tarray[20]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20},test_num; extern float Height; void LoraReportPoll(void) { @@ -327,6 +327,7 @@ } if(report_ancnum>LORA_REPORT_MAXANC_NUM) //考虑lora传输时间,最多发送10个基站数据。 report_ancnum = LORA_REPORT_MAXANC_NUM; + #ifdef USE_GPS lora_sendbuffer[MSG_TYPE_IDX] = LORA_MSGTYPE_TAGMSGTOWG_GPS; lora_sendbuffer[MSG_LENGTH] = 4*report_ancnum+ANCID_IDX; -- Gitblit v1.9.3