Skip to content

Commit

Permalink
Merge pull request #2 from Qrome/1.2
Browse files Browse the repository at this point in the history
1.2
  • Loading branch information
Qrome authored May 10, 2018
2 parents 5d9ba39 + 59c2023 commit f39558c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions printermonitor/printermonitor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SOFTWARE.

#include "Settings.h"

#define VERSION "1.1"
#define VERSION "1.2"

#define HOSTNAME "ESP8266-"
#define CONFIG "/conf.txt"
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -768,6 +767,7 @@ void readSettings() {
}
}
fr.close();
printerClient.updateOctoPrintClient(OctoPrintApiKey, OctoPrintServer, OctoPrintPort);
timeClient.setUtcOffset(UtcOffset);
}

Expand Down

0 comments on commit f39558c

Please sign in to comment.