fix NTP icons, add AP

This commit is contained in:
proddy
2024-03-23 17:16:45 +01:00
parent 2ab50bd0a2
commit 0deaafb9ce
14 changed files with 73 additions and 70 deletions

View File

@@ -60,10 +60,19 @@ class ESP8266React {
return _mqttSettingsService.getMqttClient();
}
//
// special functions needed outside scope
//
void setWill(const char * will_topic) {
_mqttSettingsService.setWill(will_topic);
}
// true if AP is active
bool apStatus() {
return _apSettingsService.getAPNetworkStatus() == APNetworkStatus::ACTIVE;
}
#ifndef EMSESP_STANDALONE
void factoryReset() {
_factoryResetService.factoryReset();