sforkowany z mirror/meshtastic-firmware
Add Korean Frequency
rodzic
5d8f541e70
commit
55cb0c52ee
|
@ -4,7 +4,7 @@ set -e
|
|||
|
||||
source bin/version.sh
|
||||
|
||||
COUNTRIES="US EU433 EU865 CN JP ANZ"
|
||||
COUNTRIES="US EU433 EU865 CN JP ANZ KR"
|
||||
#COUNTRIES=US
|
||||
#COUNTRIES=CN
|
||||
|
||||
|
|
|
@ -41,6 +41,12 @@
|
|||
#define CH_SPACING_ANZ 0.5f
|
||||
#define NUM_CHANNELS_ANZ 20
|
||||
|
||||
// KR channel settings (KR920-923)
|
||||
// Start from TTN download channel freq. (921.9f is for download, others are for uplink)
|
||||
#define CH0_KR 921.9f // MHz
|
||||
#define CH_SPACING_KR 0.2f
|
||||
#define NUM_CHANNELS_KR 8
|
||||
|
||||
// FIXME add defs for other regions and use them here
|
||||
#ifdef HW_VERSION_US
|
||||
#define CH0 CH0_US
|
||||
|
@ -73,6 +79,11 @@
|
|||
#define CH0 CH0_ANZ
|
||||
#define CH_SPACING CH_SPACING_ANZ
|
||||
#define NUM_CHANNELS NUM_CHANNELS_ANZ
|
||||
#elif defined(HW_VERSION_KR)
|
||||
// Republic of Korea
|
||||
#define CH0 CH0_KR
|
||||
#define CH_SPACING CH_SPACING_KR
|
||||
#define NUM_CHANNELS NUM_CHANNELS_KR
|
||||
#else
|
||||
// HW version not set - assume US
|
||||
#define CH0 CH0_US
|
||||
|
|
Ładowanie…
Reference in New Issue