🧼 Removes the need to pass reference to fs

This commit is contained in:
Rune Harlyk
2024-11-12 11:54:10 +01:00
parent 316b1a52cb
commit 426b4a1332
8 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
WiFiService::WiFiService()
: endpoint(WiFiSettings::read, WiFiSettings::update, this),
_persistence(WiFiSettings::read, WiFiSettings::update, this, &ESPFS, WIFI_SETTINGS_FILE) {
_persistence(WiFiSettings::read, WiFiSettings::update, this, WIFI_SETTINGS_FILE) {
addUpdateHandler([&](const String &originId) { reconfigureWiFiConnection(); }, false);
}