saved a few string copies

This commit is contained in:
2019-11-10 16:22:21 +01:00
parent 7bb74a43b9
commit f00091ec99
2 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ void wifi_associate() {
WifiManager.setConfigPortalTimeout(300); // If no configuration is done in 5 mins, exit/restart quietly
if (WifiManager.autoConnect(apname)) { // @@@FIXME@@@ we should really set a PSK for the AP (but in my brief testing it crashed the ESP, so what's up with that)
settings.ip = WiFi.localIP().toString();
PRINTLN_SERIAL("Wifi IP: " + settings.ip);
PRINTLN_SERIAL("Figured out my network \O/");
//wificlient.setFingerprint(WTR_SHA1);
net.setInsecure(); // Do not check fingerprint