diff --git a/config.h b/config.h index eb9fed7..542940d 100644 --- a/config.h +++ b/config.h @@ -1,3 +1,5 @@ +#define SERIAL_BAUD_RATE 115200 + // change pinouts if not defined through native board LORA_* definitions #ifndef LORA_RST #pragma message("LoRa pin definitions are not found, redefining...") diff --git a/esp32_loraprs.ino b/esp32_loraprs.ino index f3607a2..a0d83df 100644 --- a/esp32_loraprs.ino +++ b/esp32_loraprs.ino @@ -72,7 +72,7 @@ void setup() { pinMode(BUILTIN_LED, OUTPUT); digitalWrite(BUILTIN_LED, 1); - Serial.begin(115200); + Serial.begin(SERIAL_BAUD_RATE); while (!Serial); LoraPrs::Config config;