baud rate set by build flag, if available
This commit is contained in:
parent
fa6f97d7c8
commit
5365ebf8ec
@ -38,7 +38,12 @@ const char* ntpServer = "pool.ntp.org";
|
||||
/********* INIT *****/
|
||||
void setup()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
#ifdef MONITOR_SPEED
|
||||
Serial.begin(MONITOR_SPEED);
|
||||
#else
|
||||
Serial.begin(115200);
|
||||
#endif //MONITOR_SPEED
|
||||
|
||||
Serial.setTimeout(0);
|
||||
delay(100);
|
||||
|
||||
|
@ -135,7 +135,11 @@ void configModeCallback(WiFiManager *myWiFiManager)
|
||||
|
||||
void init_WifiManager()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
#ifdef MONITOR_SPEED
|
||||
Serial.begin(MONITOR_SPEED);
|
||||
#else
|
||||
Serial.begin(115200);
|
||||
#endif //MONITOR_SPEED
|
||||
//Serial.setTxTimeoutMs(10);
|
||||
|
||||
//Init pin 15 to eneble 5V external power (LilyGo bug)
|
||||
|
Loading…
Reference in New Issue
Block a user