Skip to content

Commit

Permalink
Merge pull request #114 from chrisjoyce911/0.2.5
Browse files Browse the repository at this point in the history
Compilation fix for Windows+Arduino IDE 2.0.1 (see #113)
  • Loading branch information
tobozo authored Dec 6, 2022
2 parents 65eb506 + bb5d572 commit 0a067ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esp32FOTA",
"version": "0.2.4",
"version": "0.2.5",
"keywords": "firmware, OTA, Over The Air Updates, ArduinoOTA",
"description": "Allows for firmware to be updated from a webserver, the device can check for updates at any time. Uses a simple JSON file to outline if a new firmware is avaiable.",
"examples": "examples/*/*.ino",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=esp32FOTA
version=0.2.4
version=0.2.5
author=Chris Joyce
maintainer=Chris Joyce <chris@joyce.id.au>
sentence=A simple library for firmware OTA updates
Expand Down
2 changes: 1 addition & 1 deletion src/esp32FOTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ bool esp32FOTA::execOTA( int partition, bool restart_after )
Serial.println("Written : " + String(written) + " successfully");
updateSize = written; // flatten value to prevent overflow when checking signature
} else {
Serial.println("Written only : " + String(written) + "/" + String(updateSize) + ". Premature end of stream?");
Serial.println("Written only : " + String(written) + "/" + String((int)updateSize) + ". Premature end of stream?");
F_abort();
return false;
}
Expand Down

0 comments on commit 0a067ad

Please sign in to comment.