From 44a7e20a1b0eae910db6f825659b12843498580d Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 5 May 2022 18:00:26 +0200 Subject: [PATCH] Fix Fix safeboot free size --- tasmota/support_esp.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/support_esp.ino b/tasmota/support_esp.ino index 6e81a0630..2ef69a81b 100644 --- a/tasmota/support_esp.ino +++ b/tasmota/support_esp.ino @@ -459,7 +459,7 @@ uint32_t ESP_getChipId(void) { } uint32_t ESP_getFreeSketchSpace(void) { - if (EspSingleOtaPartition()) { + if (EspRunningFactoryPartition()) { return 0xD0000; // SafeBoot (factory) partition size } return ESP.getFreeSketchSpace();