From 91305c2c847c9cf21364ff7b65e6c4845224c287 Mon Sep 17 00:00:00 2001 From: r51n Date: Thu, 17 Sep 2020 12:02:38 +0000 Subject: [PATCH] add AU/NZ channel definitions --- src/mesh/MeshRadio.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mesh/MeshRadio.h b/src/mesh/MeshRadio.h index 5b3a27b9c..14b649dad 100644 --- a/src/mesh/MeshRadio.h +++ b/src/mesh/MeshRadio.h @@ -36,6 +36,11 @@ #define CH_SPACING_TW 0.2 #define NUM_CHANNELS_TW 10 +// AU/NZ channel settings 915-928MHz +#define CH0_ANZ 916.0f // MHz - avoid overcrowding on 915.0 +#define CH_SPACING_ANZ 0.5f +#define NUM_CHANNELS_ANZ 20 + // FIXME add defs for other regions and use them here #ifdef HW_VERSION_US #define CH0 CH0_US @@ -63,6 +68,11 @@ #define CH0 CH0_TW #define CH_SPACING CH_SPACING_TW #define NUM_CHANNELS NUM_CHANNELS_TW +#elif defined(HW_VERSION_ANZ) +// Australia and NZ +#define CH0 CH0_ANZ +#define CH_SPACING CH_SPACING_ANZ +#define NUM_CHANNELS NUM_CHANNELS_ANZ #else // HW version not set - assume US #define CH0 CH0_US