From ac4ed0d664cdda233a1cc85c0f67c74a67953bde Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 8 Jun 2022 11:54:11 +0200 Subject: [PATCH] Fix config upload message safeboot regression --- tasmota/tasmota_xdrv_driver/xdrv_01_webserver.ino | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_01_webserver.ino b/tasmota/tasmota_xdrv_driver/xdrv_01_webserver.ino index 6fdbf7e64..47a5aa592 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_01_webserver.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_01_webserver.ino @@ -2308,15 +2308,7 @@ void HandleRestoreConfiguration(void) WSContentStart_P(PSTR(D_RESTORE_CONFIGURATION)); WSContentSendStyle(); WSContentSend_P(HTTP_FORM_RST); -#ifdef ESP32 - if (EspSingleOtaPartition() && !EspRunningFactoryPartition()) { - WSContentSend_P(HTTP_FORM_RST_UPG_FCT, PSTR(D_RESTORE)); - } else { - WSContentSend_P(HTTP_FORM_RST_UPG, PSTR(D_RESTORE)); - } -#else WSContentSend_P(HTTP_FORM_RST_UPG, PSTR(D_RESTORE)); -#endif if (WifiIsInManagerMode()) { WSContentSpaceButton(BUTTON_MAIN); } else {