docs: sx127x.h补充编译期信道选择注释示例(USE_LORA_CH, 0~119)

This commit is contained in:
2026-09-08 15:31:02 +08:00
parent a8d81780e8
commit 078e5731bb
+2
View File
@@ -767,6 +767,8 @@ typedef struct {
#define CH0 LORA_FREQ_BASE //出厂默认频率
//#define USE_LORA_CH 1
#if defined(USE_LORA_CH)
#if (USE_LORA_CH >= 0 && USE_LORA_CH < LORA_CHANNEL_CNT)
#define FREQ_CENT (LORA_FREQ_BASE + (uint32_t)(USE_LORA_CH) * LORA_FREQ_STEP)