From 5634c27b87d185b213dc31c921f9b64e5303d368 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期一, 22 一月 2024 22:22:41 +0800 Subject: [PATCH] Merge branch '免布线基站-lora' of http://47.108.70.204:60062/r/XRange_Tag into 免布线基站-lora --- Src/application/dw_app.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/Src/application/dw_app.c b/Src/application/dw_app.c index bdb24bd..ebe3a66 100644 --- a/Src/application/dw_app.c +++ b/Src/application/dw_app.c @@ -253,8 +253,7 @@ { current_count=HAL_LPTIM_ReadCounter(&hlptim1); target_count = GetUwbPollCount(); - if(target_count<0) - target_count+=32768; + SwitchLoraToSyncRec(UWB_CHANNEL_FRQ,5); //切换lora接收频点 while(current_count<target_count||current_count>target_count+16384) { current_count=HAL_LPTIM_ReadCounter(&hlptim1); @@ -263,7 +262,6 @@ break; } } - memcpy(&lora_start_poll_buff[ANC_ID_IDX],&g_com_map[DEV_ID],2); Radio.Send(lora_start_poll_buff, 4); UWB_Wkup(); -- Gitblit v1.9.3