Skip to content

Commit

Permalink
reduced serial flush delays for improve init
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Jul 12, 2022
1 parent d7b86d0 commit db6957a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ESP32WifiCLI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,12 +358,12 @@ void _setMode(String opts) {
void ESP32WifiCLI::begin(long baudrate) {
WiFi.mode(WIFI_STA);
Serial.flush();
delay(1000);
delay(10);
Serial.println("\n");
loadSavedNetworks(true);
loadAP(getDefaultAP());
reconnect();
delay(100);
delay(10);
term = new maschinendeck::SerialTerminal(baudrate);
term->add("help", &_printHelp, "\tshow detail usage information");
term->add("setSSID", &_setSSID, "\tset the Wifi SSID");
Expand Down

0 comments on commit db6957a

Please sign in to comment.