mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-14 17:12:08 +00:00
Add Korean Frequency
This commit is contained in:
parent
5d8f541e70
commit
55cb0c52ee
@ -4,7 +4,7 @@ set -e
|
|||||||
|
|
||||||
source bin/version.sh
|
source bin/version.sh
|
||||||
|
|
||||||
COUNTRIES="US EU433 EU865 CN JP ANZ"
|
COUNTRIES="US EU433 EU865 CN JP ANZ KR"
|
||||||
#COUNTRIES=US
|
#COUNTRIES=US
|
||||||
#COUNTRIES=CN
|
#COUNTRIES=CN
|
||||||
|
|
||||||
|
@ -41,6 +41,12 @@
|
|||||||
#define CH_SPACING_ANZ 0.5f
|
#define CH_SPACING_ANZ 0.5f
|
||||||
#define NUM_CHANNELS_ANZ 20
|
#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
|
// FIXME add defs for other regions and use them here
|
||||||
#ifdef HW_VERSION_US
|
#ifdef HW_VERSION_US
|
||||||
#define CH0 CH0_US
|
#define CH0 CH0_US
|
||||||
@ -73,6 +79,11 @@
|
|||||||
#define CH0 CH0_ANZ
|
#define CH0 CH0_ANZ
|
||||||
#define CH_SPACING CH_SPACING_ANZ
|
#define CH_SPACING CH_SPACING_ANZ
|
||||||
#define NUM_CHANNELS NUM_CHANNELS_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
|
#else
|
||||||
// HW version not set - assume US
|
// HW version not set - assume US
|
||||||
#define CH0 CH0_US
|
#define CH0 CH0_US
|
||||||
|
Loading…
Reference in New Issue
Block a user