🔥 Removes stateful socket

This commit is contained in:
Rune Harlyk
2026-01-03 13:34:49 +01:00
committed by nikguin04
parent 8b12d4008e
commit 568fa93368
6 changed files with 3 additions and 74 deletions
+1 -8
View File
@@ -1,5 +1,4 @@
#ifndef CameraService_h
#define CameraService_h
#pragma once
#include <ArduinoJson.h>
#include <PsychicHttp.h>
@@ -7,7 +6,6 @@
#include <async_worker.h>
#include <features.h>
#include <template/stateful_socket.h>
#include <template/stateful_persistence.h>
#include <template/stateful_endpoint.h>
@@ -23,8 +21,6 @@ namespace Camera {
#define PART_BOUNDARY "frame"
#define EVENT_CAMERA_SETTINGS "CameraSettings"
camera_fb_t *safe_camera_fb_get();
sensor_t *safe_sensor_get();
void safe_sensor_return();
@@ -41,10 +37,7 @@ class CameraService : public StatefulService<CameraSettings> {
StatefulHttpEndpoint<CameraSettings> endpoint;
private:
EventEndpoint<CameraSettings> _eventEndpoint;
FSPersistence<CameraSettings> _persistence;
void updateCamera();
};
} // namespace Camera
#endif // end CameraService_h