Qrome - fixed bug that didn't load the printer data on boot
parent
27f1fd5a9b
commit
59c2023b27
|
|
@ -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