Removed old unused code
This commit is contained in:
parent
fdc9ddbf31
commit
dea274117c
1 changed files with 2 additions and 5 deletions
|
@ -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[]) {
|
||||
|
|
Loading…
Reference in a new issue