File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3333#define pmsRX D6
3434
3535// ------------------------- Device -----------------------------------------------------
36- String firmwareVersion = " 2.1.0 " ;
37- const char * firmwareVersionPortal = " <p>Firmware Version: 2.1.0 </p>" ;
36+ String firmwareVersion = " 2.1.1 " ;
37+ const char * firmwareVersionPortal = " <p>Firmware Version: 2.1.1 </p>" ;
3838char klimerkoID[32 ];
3939
4040// -------------------------- WiFi ------------------------------------------------------
@@ -44,7 +44,7 @@ unsigned long wifiReconnectLastAttempt;
4444
4545// ------------------- WiFi Configuration Portal ----------------------------------------
4646char const *wifiConfigPortalPassword = " ConfigMode" ; // Password for WiFi Configuration Portal WiFi Network
47- const int wifiConfigTimeout = 1800 ; // Seconds before WiFi Configuration expires
47+ const int wifiConfigTimeout = 1800 ; // Seconds before WiFi Configuration expires
4848unsigned long wifiConfigActiveSince;
4949
5050// -------------------------- MQTT ------------------------------------------------------
@@ -459,8 +459,8 @@ void publishDiagnosticData() { // Publishes diagnostic data to AllThingsTalk
459459 }
460460}
461461
462- int readIntervalMillis () {
463- int result = (dataPublishInterval * 60000 ) / sensorAverageSamples;
462+ unsigned long readIntervalMillis () {
463+ unsigned long result = (dataPublishInterval * 60000 ) / sensorAverageSamples;
464464 return result;
465465}
466466
@@ -806,6 +806,7 @@ String wifiSignal() {
806806 }
807807 return signalString;
808808 }
809+ return " Error" ;
809810}
810811
811812void initPMS () {
You can’t perform that action at this time.
0 commit comments