mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
emulation on host: minor updates (#8454)
* emulation on host: minor fixes merge MockDigital.cpp and HostWiring.cpp * emulation: share mockverbose between CI-on-host and emulation * mock: add missing recently overridden method * remove extern variable, use weak function
This commit is contained in:
@ -111,7 +111,7 @@ void ESP8266HTTPUpdateServerTemplate<ServerType>::setup(ESP8266WebServerTemplate
|
||||
}
|
||||
} else if(_authenticated && upload.status == UPLOAD_FILE_END && !_updaterError.length()){
|
||||
if(Update.end(true)){ //true to set the size to the current progress
|
||||
if (_serial_output) Serial.printf("Update Success: %u\nRebooting...\n", upload.totalSize);
|
||||
if (_serial_output) Serial.printf("Update Success: %zu\nRebooting...\n", upload.totalSize);
|
||||
} else {
|
||||
_setUpdaterError();
|
||||
}
|
||||
|
Reference in New Issue
Block a user