From c37bd7d212404349d2109637492afd0df4315739 Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期二, 27 二月 2024 17:27:17 +0800
Subject: [PATCH] 测试完成

---
 Src/main.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/Src/main.c b/Src/main.c
index 3c059b7..78a65b8 100644
--- a/Src/main.c
+++ b/Src/main.c
@@ -185,7 +185,7 @@
             state5v=0;
             UsartDeInit();
         }
-        LED2_TR_OFF;
+//        LED2_TR_OFF;
         LED2_TB_OFF;
 //	}
     }
@@ -493,6 +493,13 @@
     Program_Init();
     LIS3DH_Data_Init();
     Dw1000_Init();
+    dwt_configcontinuousframemode(124800);
+	dwt_writetxfctrl(13, 0);
+	dwt_starttx(DWT_START_TX_IMMEDIATE);
+	while(1)
+	{		
+			IdleTask();	
+	}
     Delay_Ms(10);
     dwt_configuresleep(DWT_PRESRV_SLEEP | DWT_CONFIG, DWT_WAKE_CS | DWT_WAKE_WK| DWT_SLP_EN);
     dwt_entersleep();
@@ -1058,7 +1065,7 @@
 //    uint8_t pinlv;
     SystemClock_Config();
     LedTask();
-    LoraReportPoll();
+   // LoraReportPoll();
     flag_onesecond = 1;
     LED_TB_OFF;
     LED_TR_OFF;

--
Gitblit v1.9.3