From 06aad5430de01682d49345e5848fc027229de53e Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 20 Sep 2023 13:20:11 +0200 Subject: [PATCH] fixed typo and removed all Watchdog mentions in code, tests should run now --- templates/homev2_wifi.tpl | 12 +----------- templates/homev2_wifi_feinstaub.tpl | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/templates/homev2_wifi.tpl b/templates/homev2_wifi.tpl index 98854df..8cb6aab 100644 --- a/templates/homev2_wifi.tpl +++ b/templates/homev2_wifi.tpl @@ -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(); @@ -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); } @@ -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; } } diff --git a/templates/homev2_wifi_feinstaub.tpl b/templates/homev2_wifi_feinstaub.tpl index 80f531a..7527958 100644 --- a/templates/homev2_wifi_feinstaub.tpl +++ b/templates/homev2_wifi_feinstaub.tpl @@ -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();