mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-19 08:46:32 +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));
|
WSContentStart_P(PSTR(D_RESTORE_CONFIGURATION));
|
||||||
WSContentSendStyle();
|
WSContentSendStyle();
|
||||||
WSContentSend_P(HTTP_FORM_RST);
|
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));
|
WSContentSend_P(HTTP_FORM_RST_UPG, PSTR(D_RESTORE));
|
||||||
#endif
|
|
||||||
if (WifiIsInManagerMode()) {
|
if (WifiIsInManagerMode()) {
|
||||||
WSContentSpaceButton(BUTTON_MAIN);
|
WSContentSpaceButton(BUTTON_MAIN);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user