Update MeshRadio.h

Moving configuration from main.cpp to Meshradio.h
This commit is contained in:
tuxphone 2020-09-19 14:49:49 +02:00 committed by GitHub
parent 69c42409b7
commit 9ea476e230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
// CONFIGURATION HERE
#define HW_VERSION_EU865 // define your region here. For US, use HW_VERSION_US, for CN use HW_VERSION_CN etc.
#define MESHTASTIC_SPEED 3 // 0 = short range, 1 = medium range, 2 = long range, 3 = very long range
char MESHTASTIC_NAME[12] = {"Default"}; // Channel Name, but without "-Xy" suffix , e.g. use "Test" instead of "Test-A"
#define TX_OUTPUT_POWER 22 // output power in dB, keep in mind the maximums set by law and the hardware
// END OF CONFIGURATION
// US channel settings // US channel settings
#define CH0_US 903.08f // MHz #define CH0_US 903.08f // MHz
#define CH_SPACING_US 2.16f // MHz #define CH_SPACING_US 2.16f // MHz