From 15c798731ba5658fc0ecd9e3f47f662861c56b9c Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期五, 23 二月 2024 14:40:37 +0800 Subject: [PATCH] 加入lora升级。 --- Src/radio/Lora.h | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Src/radio/Lora.h b/Src/radio/Lora.h index 2e04b76..7d63ff9 100644 --- a/Src/radio/Lora.h +++ b/Src/radio/Lora.h @@ -17,7 +17,10 @@ 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 @@ -27,4 +30,6 @@ #define APP1_ADRESS 0X8005000 #define APP_SIZE 0XAB00 + +#define APP_1OR2_ADRESS 0x8004B38 #endif -- Gitblit v1.9.3