📦 Moves camera to own namespace

This commit is contained in:
Rune Harlyk
2024-08-19 18:27:56 +02:00
committed by Rune Harlyk
parent 586dbc7a9a
commit 951bfb4cd2
4 changed files with 25 additions and 11 deletions
+4 -4
View File
@@ -111,9 +111,9 @@ class ESP32SvelteKit {
MotionService *getMotionService() { return &_motionService; }
#endif
CameraService *getCameraService() { return &_cameraService; }
CameraSettingsService *getCameraSettingsService() { return &_cameraSettingsService; }
#if FT_ENABLED(USE_CAMERA)
Camera::CameraService *getCameraService() { return &_cameraService; }
Camera::CameraSettingsService *getCameraSettingsService() { return &_cameraSettingsService; }
#endif
Peripherals *getPeripherals() { return &_peripherals; }
@@ -171,9 +171,9 @@ class ESP32SvelteKit {
#if FT_ENABLED(USE_MOTION)
MotionService _motionService;
#endif
CameraService _cameraService;
CameraSettingsService _cameraSettingsService;
#if FT_ENABLED(USE_CAMERA)
Camera::CameraService _cameraService;
Camera::CameraSettingsService _cameraSettingsService;
#endif
Peripherals _peripherals;
ServoController _servoController;