factoryReset only used with button in test mode

This commit is contained in:
Proddy
2024-02-13 20:19:41 +01:00
parent df21c15972
commit 92a80c3aaf

View File

@@ -65,9 +65,11 @@ class ESP8266React {
_mqttSettingsService.setWill(will_topic); _mqttSettingsService.setWill(will_topic);
} }
#ifndef EMSESP_STANDALONE
void factoryReset() { void factoryReset() {
_factoryResetService.factoryReset(); _factoryResetService.factoryReset();
} }
#endif
private: private:
SecuritySettingsService _securitySettingsService; SecuritySettingsService _securitySettingsService;