Skip to content

Commit

Permalink
Fixed some compiler issues, bumped to 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
epiller committed Jan 13, 2023
1 parent 931a3ac commit 01e7182
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Binary file modified Klimerko_Firmware/Klimerko_Firmware.bin
Binary file not shown.
11 changes: 6 additions & 5 deletions Klimerko_Firmware/Klimerko_Firmware.ino
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
#define pmsRX D6

// ------------------------- Device -----------------------------------------------------
String firmwareVersion = "2.1.0";
const char* firmwareVersionPortal = "<p>Firmware Version: 2.1.0</p>";
String firmwareVersion = "2.1.1";
const char* firmwareVersionPortal = "<p>Firmware Version: 2.1.1</p>";
char klimerkoID[32];

// -------------------------- WiFi ------------------------------------------------------
Expand All @@ -44,7 +44,7 @@ unsigned long wifiReconnectLastAttempt;

// ------------------- WiFi Configuration Portal ----------------------------------------
char const *wifiConfigPortalPassword = "ConfigMode"; // Password for WiFi Configuration Portal WiFi Network
const int wifiConfigTimeout = 1800; // Seconds before WiFi Configuration expires
const int wifiConfigTimeout = 1800; // Seconds before WiFi Configuration expires
unsigned long wifiConfigActiveSince;

// -------------------------- MQTT ------------------------------------------------------
Expand Down Expand Up @@ -459,8 +459,8 @@ void publishDiagnosticData() { // Publishes diagnostic data to AllThingsTalk
}
}

int readIntervalMillis() {
int result = (dataPublishInterval * 60000) / sensorAverageSamples;
unsigned long readIntervalMillis() {
unsigned long result = (dataPublishInterval * 60000) / sensorAverageSamples;
return result;
}

Expand Down Expand Up @@ -806,6 +806,7 @@ String wifiSignal() {
}
return signalString;
}
return "Error";
}

void initPMS() {
Expand Down

0 comments on commit 01e7182

Please sign in to comment.