Refactors feature service

This commit is contained in:
Rune Harlyk
2024-11-08 17:03:31 +01:00
parent 4fff03ce54
commit a7eec4f7f2
8 changed files with 46 additions and 125 deletions
+1 -4
View File
@@ -27,7 +27,7 @@
#include <ESPmDNS.h>
#include <LEDService.h>
#include <event_socket.h>
#include <FeaturesService.h>
#include <features.h>
#include <MotionService.h>
#include <ntp_service.h>
#include <camera_service.h>
@@ -76,8 +76,6 @@ class ESP32SvelteKit {
BatteryService *getBatteryService() { return &_batteryService; }
#endif
FeaturesService *getFeatureService() { return &_featureService; }
#if FT_ENABLED(USE_MOTION)
MotionService *getMotionService() { return &_motionService; }
#endif
@@ -102,7 +100,6 @@ class ESP32SvelteKit {
private:
PsychicHttpServer *_server;
unsigned int _numberEndpoints;
FeaturesService _featureService;
WiFiService _wifiService;
APService _apService;
EventSocket _socket;