Skip to content

Commit

Permalink
fixed typo and removed all Watchdog mentions in code, tests should ru…
Browse files Browse the repository at this point in the history
…n now
  • Loading branch information
PaulReichmuth committed Sep 20, 2023
1 parent 477348f commit 06aad54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 1 addition & 11 deletions templates/homev2_wifi.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static const uint8_t NUM_SENSORS = @@NUM_SENSORS@@;
@@SENSOR_IDS|toProgmem@@

WiFiClient wifiClient;
SSLClient client(wiFiClient, TAs, TAs_NUM, 6, 1,SSLClient::SSL_INFO);
SSLClient client(wifiClient, TAs, TAs_NUM, 6, 1,SSLClient::SSL_INFO);

unsigned long getTime() {
return WiFi.getTime();
Expand Down Expand Up @@ -440,10 +440,6 @@ void setup() {
ret = sps30_start_measurement();
#endif
DEBUG(F("Initializing sensors done!"));
DEBUG2(F("Initializing Watchdog at 480000ms..."));
// Initialize watchdog
Watchdog.enable(480000);
DEBUG(F("done!"));
DEBUG(F("Starting loop in 3 seconds."));
delay(3000);
}
Expand Down Expand Up @@ -751,16 +747,10 @@ void loop() {
page += 1;
}
displayTime += 5000;
DEBUG2(F("Resetting watchdog..."));
Watchdog.reset();
DEBUG(F("done."));
}
#endif
if (elapsed >= postingInterval)
{
DEBUG2(F("Preparing for Upload: Resetting watchdog..."));
Watchdog.reset();
DEBUG(F("done."));
return;
}
}
Expand Down
2 changes: 1 addition & 1 deletion templates/homev2_wifi_feinstaub.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static const uint8_t NUM_SENSORS = @@NUM_SENSORS@@;
@@SENSOR_IDS|toProgmem@@

WiFiClient wifiClient;
SSLClient client(wiFiClient, TAs, TAs_NUM, 6, 1,SSLClient::SSL_INFO);
SSLClient client(wifiClient, TAs, TAs_NUM, 6, 1,SSLClient::SSL_INFO);

unsigned long getTime() {
return WiFi.getTime();
Expand Down

0 comments on commit 06aad54

Please sign in to comment.