From fcbbc2c7c81a2c9c163e81d38fe028c309c4295b Mon Sep 17 00:00:00 2001
From: zhangbo <zhangbo@qq.com>
Date: 星期五, 16 五月 2025 16:36:56 +0800
Subject: [PATCH] 对比测试

---
 keil/include/src/Radio/lora_1268.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/keil/include/src/Radio/lora_1268.c b/keil/include/src/Radio/lora_1268.c
index c386211..3997f6b 100644
--- a/keil/include/src/Radio/lora_1268.c
+++ b/keil/include/src/Radio/lora_1268.c
@@ -187,6 +187,7 @@
 extern uint32_t step_count;
 uint8_t step_count_rep;
 //extern u16_m f_step;
+extern uint8_t uwbled,gpsled,loraled,powerled;
 void LoraReportPoll(void)
 {
     // delay_ms(100);
@@ -199,7 +200,7 @@
     printf("气压值:%d",intheight);
 #endif
 
-    TagListUpdate();
+//    TagListUpdate();
 
     LoraReportFreqPoll();
     flag_getwgresp = 0;
@@ -285,7 +286,7 @@
 		
 		if(step_count < 0)
 			step_count=0;
-		lora_sendbuffer[STEP_COUNT] = (uint8_t)(step_count % 256);
+//		lora_sendbuffer[STEP_COUNT] = (uint8_t)(step_count % 256);
 		
 //		}
 //		if(lora_sendbuffer[LORA_RETRANSNUSSION_BT]==0x2D)
@@ -310,7 +311,7 @@
 		memset(DMA_RXBuf_BT, 0,200);
 		memset(&lora_sendbuffer[ANCID_IDX],0,200);
     //LED_TB_ON;
-    LORA_LED_ON;
+    loraled=1;
     
     for(uint8_t i=0;i<3;i++)
     recnum[i] = 0;
@@ -324,7 +325,7 @@
 //uint16_t rec_value,rec_delaytime,rx_count,datalen_offset;
 
 uint8_t shengji_flag,time=5;
-extern uint32_t uwbled,gpsled,loraled,powerled;
+//extern uint32_t uwbled,gpsled,loraled,powerled;
 extern struct RxDoneMsg RxDoneParams;
 
 //extern     uint8_t Lora_tx_ancnum;
@@ -452,7 +453,7 @@
     else
     {
     Radio.Rx( 50 );
-    LORA_LED_OFF;
+
     }
 }
 #define BUFFER_SIZE                                 255 // Define the payload size here

--
Gitblit v1.9.3