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