Compare commits
1 Commits
295a66944d
...
lora-wide
| Author | SHA1 | Date | |
|---|---|---|---|
| 078e5731bb |
@@ -767,6 +767,8 @@ typedef struct {
|
|||||||
|
|
||||||
#define CH0 LORA_FREQ_BASE //出厂默认频率
|
#define CH0 LORA_FREQ_BASE //出厂默认频率
|
||||||
|
|
||||||
|
//#define USE_LORA_CH 1
|
||||||
|
|
||||||
#if defined(USE_LORA_CH)
|
#if defined(USE_LORA_CH)
|
||||||
#if (USE_LORA_CH >= 0 && USE_LORA_CH < LORA_CHANNEL_CNT)
|
#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)
|
#define FREQ_CENT (LORA_FREQ_BASE + (uint32_t)(USE_LORA_CH) * LORA_FREQ_STEP)
|
||||||
|
|||||||
Reference in New Issue
Block a user