🔥 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
-3
View File
@@ -2,15 +2,12 @@
Peripherals::Peripherals()
: endpoint(PeripheralsConfiguration::read, PeripheralsConfiguration::update, this),
_eventEndpoint(PeripheralsConfiguration::read, PeripheralsConfiguration::update, this,
EVENT_CONFIGURATION_SETTINGS),
_persistence(PeripheralsConfiguration::read, PeripheralsConfiguration::update, this, DEVICE_CONFIG_FILE) {
_accessMutex = xSemaphoreCreateMutex();
addUpdateHandler([&](const std::string &originId) { updatePins(); }, false);
}
void Peripherals::begin() {
_eventEndpoint.begin();
_persistence.readFromFS();
updatePins();