From f9a7514dbb14628b5caba76be951db2b55b1050b Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期四, 29 二月 2024 14:19:35 +0800 Subject: [PATCH] 去掉UWB功率写死0,和增加UWB读取回复的delay时间 --- Src/radio/Lora.h | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Src/radio/Lora.h b/Src/radio/Lora.h index 073a4ef..66f3c2a 100644 --- a/Src/radio/Lora.h +++ b/Src/radio/Lora.h @@ -17,12 +17,19 @@ void SwitchLoraSettingstest(uint32_t freq,uint8_t sf); uint8_t GetLoraBufferAndLen(uint8_t* buffer,uint16_t* lp_count); uint16_t GetLoraSyncCount(void); -#define SYNC_CHANNEL_FRQ 469 +#define LORA_UPCHANNEL_FRQ 468 +#define LORA_UPCHANNEL_SF 7 + +#define SYNC_CHANNEL_FRQ 462 #define SYNC_CHANNEL_SF 7 -#define UWB_CHANNEL_FRQ 460 +#define UWB_CHANNEL_FRQ 465 #define UWB_CHANNEL_SF 5 #define APP2_ADRESS 0X8012800 #define APP1_ADRESS 0X8005000 + +#define APP_SIZE 0XAB00 + +#define APP_1OR2_ADRESS 0x8004B38 #endif -- Gitblit v1.9.3