saved a few string copies
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user