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 = 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