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();