mirror of https://github.com/arendst/Tasmota.git
Fix Fix safeboot free size
This commit is contained in:
parent
9ead30f104
commit
44a7e20a1b
|
@ -459,7 +459,7 @@ uint32_t ESP_getChipId(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t ESP_getFreeSketchSpace(void) {
|
uint32_t ESP_getFreeSketchSpace(void) {
|
||||||
if (EspSingleOtaPartition()) {
|
if (EspRunningFactoryPartition()) {
|
||||||
return 0xD0000; // SafeBoot (factory) partition size
|
return 0xD0000; // SafeBoot (factory) partition size
|
||||||
}
|
}
|
||||||
return ESP.getFreeSketchSpace();
|
return ESP.getFreeSketchSpace();
|
||||||
|
|
Loading…
Reference in New Issue