Removed unused code

This commit is contained in:
Kai Lauterbach 2022-05-16 08:46:05 +02:00
parent bce0c81139
commit fdc9ddbf31
2 changed files with 4 additions and 6 deletions

View file

@ -128,12 +128,6 @@ void setup()
#ifndef BATTERY_POWERED
setupWebUpdater(DEVICE_NAME, WiFi.localIP().toString());
#endif
#endif
#ifdef HOMEBRIDGE_WEBSTAT
#ifndef BATTERY_POWERED
hb_webstat_server_setup();
#endif
#endif
//It's magic! leave in

4
firmware/influxdb.ino Executable file → Normal file
View file

@ -2,6 +2,8 @@
#include "config_user.h"
#if INFLUXDB_VERSION == 2
// Data point
Point sensor(DEVICE_NAME);
@ -103,3 +105,5 @@ void _writePoint() {
}
}
#endif // influxdb version 2 check