we now use 13 different channel numbers

This commit is contained in:
geeksville
2020-02-11 12:05:46 -08:00
parent 124c3e2edd
commit 5aaae9c4fe
12 changed files with 171 additions and 66 deletions
+9
View File
@@ -8,6 +8,15 @@
#include "MeshTypes.h"
#include "configuration.h"
// US channel settings
#define CH0_US 903.08f // MHz
#define CH_SPACING_US 2.16f // MHz
#define NUM_CHANNELS_US 13
// FIXME add defs for other regions and use them here
#define CH0 CH0_US
#define CH_SPACING CH_SPACING_US
#define NUM_CHANNELS NUM_CHANNELS_US
#define MAX_TX_QUEUE 8 // max number of packets which can be waiting for transmission