From 92a80c3aaf1d0ce8a5f13853aacffcd457ef149e Mon Sep 17 00:00:00 2001 From: Proddy Date: Tue, 13 Feb 2024 20:19:41 +0100 Subject: [PATCH] factoryReset only used with button in test mode --- lib/framework/ESP8266React.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/framework/ESP8266React.h b/lib/framework/ESP8266React.h index 589369f33..4f5988933 100644 --- a/lib/framework/ESP8266React.h +++ b/lib/framework/ESP8266React.h @@ -65,9 +65,11 @@ class ESP8266React { _mqttSettingsService.setWill(will_topic); } +#ifndef EMSESP_STANDALONE void factoryReset() { _factoryResetService.factoryReset(); } +#endif private: SecuritySettingsService _securitySettingsService;