mirror of https://github.com/arendst/Tasmota.git
Fix safeboot naming
This commit is contained in:
parent
865ba51b7a
commit
8253f579f3
|
@ -842,7 +842,7 @@ void CmndUpgrade(void)
|
|||
else if (EspSingleOtaPartition() && !EspRunningFactoryPartition() && (1 == XdrvMailbox.data_len) && (2 == XdrvMailbox.payload)) {
|
||||
TasmotaGlobal.ota_factory = true;
|
||||
TasmotaGlobal.ota_state_flag = 3;
|
||||
ResponseCmndChar(PSTR("Saveboot"));
|
||||
ResponseCmndChar(PSTR("Safeboot"));
|
||||
}
|
||||
#endif // ESP32 and WEBCLIENT_HTTPS
|
||||
else {
|
||||
|
|
|
@ -1260,7 +1260,7 @@ void Every250mSeconds(void)
|
|||
char *pch = strrchr(bch, '-'); // Find last dash (-) and ignore remainder - handles tasmota-DE
|
||||
if (pch == nullptr) { pch = ech; } // No dash so ignore filetype
|
||||
*pch = '\0'; // full_ota_url = http://domus1:80/api/arduino/tasmota
|
||||
snprintf_P(full_ota_url, sizeof(full_ota_url), PSTR("%s-safeboot%s"), full_ota_url, ota_url_type); // Saveboot filename must be filename-safeboot
|
||||
snprintf_P(full_ota_url, sizeof(full_ota_url), PSTR("%s-safeboot%s"), full_ota_url, ota_url_type); // Safeboot filename must be filename-safeboot
|
||||
} else
|
||||
#endif // USE_WEBCLIENT_HTTPS
|
||||
if (EspSingleOtaPartition()) {
|
||||
|
|
Loading…
Reference in New Issue