diff --git a/esp32/lib/ESP32-sveltekit/camera_service.h b/esp32/lib/ESP32-sveltekit/camera_service.h index f47993b..18eed7c 100644 --- a/esp32/lib/ESP32-sveltekit/camera_service.h +++ b/esp32/lib/ESP32-sveltekit/camera_service.h @@ -8,7 +8,7 @@ #include #include -#include +#include #include #include diff --git a/esp32/lib/ESP32-sveltekit/peripherals/peripherals.h b/esp32/lib/ESP32-sveltekit/peripherals/peripherals.h index fabeada..592567f 100644 --- a/esp32/lib/ESP32-sveltekit/peripherals/peripherals.h +++ b/esp32/lib/ESP32-sveltekit/peripherals/peripherals.h @@ -1,7 +1,7 @@ #ifndef Peripherals_h #define Peripherals_h -#include +#include #include #include #include diff --git a/esp32/lib/ESP32-sveltekit/EventEndpoint.h b/esp32/lib/ESP32-sveltekit/stateful_socket.h similarity index 74% rename from esp32/lib/ESP32-sveltekit/EventEndpoint.h rename to esp32/lib/ESP32-sveltekit/stateful_socket.h index b5118ec..35be9a7 100644 --- a/esp32/lib/ESP32-sveltekit/EventEndpoint.h +++ b/esp32/lib/ESP32-sveltekit/stateful_socket.h @@ -1,22 +1,8 @@ -#ifndef EventEndpoint_h -#define EventEndpoint_h +#pragma once -/** - * ESP32 SvelteKit - * - * A simple, secure and extensible framework for IoT projects for ESP32 platforms - * with responsive Sveltekit front-end built with TailwindCSS and DaisyUI. - * https://github.com/theelims/ESP32-sveltekit - * - * Copyright (C) 2018 - 2023 rjwats - * Copyright (C) 2023 theelims - * - * All Rights Reserved. This software may be modified and distributed under - * the terms of the LGPL v3 license. See the LICENSE file for details. - **/ +#include #include -#include #include template @@ -55,5 +41,3 @@ class EventEndpoint { socket.emit(_event, output.c_str(), originId.c_str(), sync); } }; - -#endif