🧼 Removes battery service

This commit is contained in:
Rune Harlyk
2024-11-14 15:15:42 +01:00
committed by Rune Harlyk
parent f2d86115fb
commit 841ae91c33
13 changed files with 27 additions and 164 deletions
+1 -8
View File
@@ -3,11 +3,7 @@
static const char *TAG = "Spot";
Spot::Spot(PsychicHttpServer *server)
:
#if FT_ENABLED(USE_BATTERY)
_batteryService(&_peripherals),
#endif
_servoController(&_peripherals),
: _servoController(&_peripherals),
#if FT_ENABLED(USE_MOTION)
_motionService(&_servoController),
#endif
@@ -187,9 +183,6 @@ void Spot::startServices() {
#endif
#if FT_ENABLED(USE_NTP)
_ntpService.begin();
#endif
#if FT_ENABLED(USE_BATTERY)
_batteryService.begin();
#endif
_peripherals.begin();
_servoController.begin();