mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 03:36:42 +00:00
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…
x
Reference in New Issue
Block a user