Removed unused code
This commit is contained in:
parent
bce0c81139
commit
fdc9ddbf31
2 changed files with 4 additions and 6 deletions
|
@ -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
4
firmware/influxdb.ino
Executable file → Normal 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
|
||||
|
|
Loading…
Reference in a new issue