Refactors event socket

This commit is contained in:
Rune Harlyk
2024-11-07 16:58:19 +01:00
committed by Rune Harlyk
parent fd652bd967
commit 89611b5e3e
20 changed files with 98 additions and 127 deletions
+2 -3
View File
@@ -14,7 +14,7 @@
* the terms of the LGPL v3 license. See the LICENSE file for details.
**/
#include <EventSocket.h>
#include <event_socket.h>
#include <JsonUtils.h>
#include <Peripherals.h>
#include <Timing.h>
@@ -36,7 +36,7 @@
class BatteryService {
public:
BatteryService(Peripherals *peripherals, EventSocket *socket);
BatteryService(Peripherals *peripherals);
void begin();
@@ -57,7 +57,6 @@ class BatteryService {
private:
void batteryEvent();
EventSocket *_socket;
Peripherals *_peripherals;
float _voltage = 0;