mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
Fix config upload message safeboot regression
This commit is contained in:
parent
2a197fcf9c
commit
ac4ed0d664
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user