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

View File

@@ -23,7 +23,7 @@ void setup() {
// If we run in to trouble, this can painlessly be removed and the resulting device name will just be longer
settings.name.remove(devlen+1, 6);
PRINTLN_SERIAL("Device name: " + settings.name);
PRINTLN_SERIAL("Figured out who I am \O/");
wifi_setup();
@@ -37,7 +37,7 @@ void setup() {
moon_setup();
#endif
// Start the cooperative scheduler loops
PRINTLN_SERIAL(settings.name + " done setting up, ready for main loop");
PRINTLN_SERIAL("Done setting up, ready for main loop \O/");
}
void loop() {