🐹 Renames member

This commit is contained in:
Rune Harlyk
2024-11-08 17:24:06 +01:00
parent e77de7dbdb
commit 386f1c627d
8 changed files with 16 additions and 19 deletions
+2 -2
View File
@@ -4,13 +4,13 @@ static const char *TAG = "APService";
APService::APService()
: endpoint(APSettings::read, APSettings::update, this),
_fsPersistence(APSettings::read, APSettings::update, this, &ESPFS, NTP_SETTINGS_FILE) {
_persistence(APSettings::read, APSettings::update, this, &ESPFS, NTP_SETTINGS_FILE) {
addUpdateHandler([&](const String &originId) { reconfigureAP(); }, false);
}
APService::~APService() {}
void APService::begin() { _fsPersistence.readFromFS(); }
void APService::begin() { _persistence.readFromFS(); }
esp_err_t APService::getStatus(PsychicRequest *request) {
PsychicJsonResponse response = PsychicJsonResponse(request, false);