kopia lustrzana https://github.com/sh123/esp32_loraprs
Move serial baud rate to config
rodzic
5abff29de3
commit
f090a41b1b
2
config.h
2
config.h
|
@ -1,3 +1,5 @@
|
||||||
|
#define SERIAL_BAUD_RATE 115200
|
||||||
|
|
||||||
// change pinouts if not defined through native board LORA_* definitions
|
// change pinouts if not defined through native board LORA_* definitions
|
||||||
#ifndef LORA_RST
|
#ifndef LORA_RST
|
||||||
#pragma message("LoRa pin definitions are not found, redefining...")
|
#pragma message("LoRa pin definitions are not found, redefining...")
|
||||||
|
|
|
@ -72,7 +72,7 @@ void setup() {
|
||||||
pinMode(BUILTIN_LED, OUTPUT);
|
pinMode(BUILTIN_LED, OUTPUT);
|
||||||
digitalWrite(BUILTIN_LED, 1);
|
digitalWrite(BUILTIN_LED, 1);
|
||||||
|
|
||||||
Serial.begin(115200);
|
Serial.begin(SERIAL_BAUD_RATE);
|
||||||
while (!Serial);
|
while (!Serial);
|
||||||
|
|
||||||
LoraPrs::Config config;
|
LoraPrs::Config config;
|
||||||
|
|
Ładowanie…
Reference in New Issue