From dea274117c7b427c716a09e90b42f364bd82087a Mon Sep 17 00:00:00 2001 From: Kai Lauterbach Date: Mon, 16 May 2022 10:12:36 +0200 Subject: [PATCH] Removed old unused code --- firmware/firmware.ino | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/firmware/firmware.ino b/firmware/firmware.ino index 554d6aa..df69d7f 100644 --- a/firmware/firmware.ino +++ b/firmware/firmware.ino @@ -137,7 +137,8 @@ void setup() // if millis() reached interval (1h) restart ESP if (millis() >= RESET_ESP_TIME_INTERVAL_MS) { - // TODO test + debug("Resetting firmware intentionally"); + // Push reset button after flashing once or do a manual power cycle to get the functionality working. ESP.restart(); } #endif @@ -244,10 +245,6 @@ void _loop() { setSensorData(currentSensorData); #endif -#ifdef HOMEBRIDGE_WEBSTAT - hb_webstat_loop(currentSensorData); -#endif - } void logToSerial(float sensorValues[]) {