From 8253f579f3ca573f4c6054d28b89541ce9572f71 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 11 May 2022 14:45:09 +0200 Subject: [PATCH] Fix safeboot naming --- tasmota/support_command.ino | 2 +- tasmota/support_tasmota.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/support_command.ino b/tasmota/support_command.ino index 556569a55..62f305d8f 100644 --- a/tasmota/support_command.ino +++ b/tasmota/support_command.ino @@ -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 { diff --git a/tasmota/support_tasmota.ino b/tasmota/support_tasmota.ino index 454d59fae..42f573d54 100644 --- a/tasmota/support_tasmota.ino +++ b/tasmota/support_tasmota.ino @@ -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()) {