From 9ea476e2305a071b84477e8a085e877f815f4b56 Mon Sep 17 00:00:00 2001 From: tuxphone <67556506+tuxphone@users.noreply.github.com> Date: Sat, 19 Sep 2020 14:49:49 +0200 Subject: [PATCH] Update MeshRadio.h Moving configuration from main.cpp to Meshradio.h --- MeshRadio.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/MeshRadio.h b/MeshRadio.h index 8bf5028..30e0a06 100644 --- a/MeshRadio.h +++ b/MeshRadio.h @@ -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 #define CH0_US 903.08f // MHz #define CH_SPACING_US 2.16f // MHz