commit
f39558c4ec
|
|
@ -27,7 +27,7 @@ SOFTWARE.
|
||||||
|
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
|
||||||
#define VERSION "1.1"
|
#define VERSION "1.2"
|
||||||
|
|
||||||
#define HOSTNAME "ESP8266-"
|
#define HOSTNAME "ESP8266-"
|
||||||
#define CONFIG "/conf.txt"
|
#define CONFIG "/conf.txt"
|
||||||
|
|
@ -337,7 +337,6 @@ void handleUpdateConfig() {
|
||||||
temp = server.arg("stationpassword");
|
temp = server.arg("stationpassword");
|
||||||
temp.toCharArray(www_password, sizeof(temp));
|
temp.toCharArray(www_password, sizeof(temp));
|
||||||
writeSettings();
|
writeSettings();
|
||||||
printerClient.updateOctoPrintClient(OctoPrintApiKey, OctoPrintServer, OctoPrintPort);
|
|
||||||
printerClient.getPrinterJobResults();
|
printerClient.getPrinterJobResults();
|
||||||
checkDisplay();
|
checkDisplay();
|
||||||
lastEpoch = 0;
|
lastEpoch = 0;
|
||||||
|
|
@ -768,6 +767,7 @@ void readSettings() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fr.close();
|
fr.close();
|
||||||
|
printerClient.updateOctoPrintClient(OctoPrintApiKey, OctoPrintServer, OctoPrintPort);
|
||||||
timeClient.setUtcOffset(UtcOffset);
|
timeClient.setUtcOffset(UtcOffset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue