Removed old unused code

This commit is contained in:
Kai Lauterbach 2022-05-16 10:12:36 +02:00
parent fdc9ddbf31
commit dea274117c

View file

@ -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[]) {