mirror of https://github.com/arendst/Tasmota.git
Fix SafeBoot GUI upload regression
This commit is contained in:
parent
fc21e1cc16
commit
e92230d7cb
|
@ -2786,7 +2786,7 @@ void HandleUploadLoop(void) {
|
|||
}
|
||||
// upload.buf[2] = 3; // Force DOUT - ESP8285
|
||||
}
|
||||
uint32_t maxSketchSpace = (ESP_getFreeSketchSpace() - 0x1000) & 0xFFFFF000;
|
||||
uint32_t maxSketchSpace = (ESP.getFreeSketchSpace() - 0x1000) & 0xFFFFF000;
|
||||
if (!Update.begin(maxSketchSpace)) { //start with max available size
|
||||
Web.upload_error = 2; // Not enough space
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue