formatting

This commit is contained in:
proddy
2026-06-06 15:06:32 +02:00
parent c572155d8d
commit 9a225569fd
6 changed files with 42 additions and 42 deletions

View File

@@ -82,7 +82,7 @@ void Network::begin() {
WiFi.persistent(false);
WiFi.setAutoReconnect(false);
WiFi.mode(WIFI_STA);
WiFi.disconnect(true, true); // wipe old settings in NVS
WiFi.disconnect(true, true); // wipe old settings in NVS
WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN);
WiFi.setHostname(hostname_.c_str()); // updates shared default_hostname buffer
WiFi.enableSTA(true); // creates the STA netif