1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

inlining and enchancements

This commit is contained in:
John Doe
2015-07-03 22:31:10 +03:00
committed by Ivan Grokhotkov
parent 0d969e9760
commit 7596ed0742
3 changed files with 13 additions and 9 deletions

View File

@ -43,7 +43,9 @@ void loop() {
Serial.print(remote);
Serial.printf(", port:%d, size:%d\n", port, size);
uint32_t startTime = millis();
WiFiUDP::stopAll();
if(!Update.begin(size)){
Serial.println("Update Begin Error");
return;