Skip to content

Commit 0a067ad

Browse files
authored
Merge pull request #114 from chrisjoyce911/0.2.5
Compilation fix for Windows+Arduino IDE 2.0.1 (see #113)
2 parents 65eb506 + bb5d572 commit 0a067ad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esp32FOTA",
3-
"version": "0.2.4",
3+
"version": "0.2.5",
44
"keywords": "firmware, OTA, Over The Air Updates, ArduinoOTA",
55
"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.",
66
"examples": "examples/*/*.ino",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=esp32FOTA
2-
version=0.2.4
2+
version=0.2.5
33
author=Chris Joyce
44
maintainer=Chris Joyce <chris@joyce.id.au>
55
sentence=A simple library for firmware OTA updates

src/esp32FOTA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ bool esp32FOTA::execOTA( int partition, bool restart_after )
503503
Serial.println("Written : " + String(written) + " successfully");
504504
updateSize = written; // flatten value to prevent overflow when checking signature
505505
} else {
506-
Serial.println("Written only : " + String(written) + "/" + String(updateSize) + ". Premature end of stream?");
506+
Serial.println("Written only : " + String(written) + "/" + String((int)updateSize) + ". Premature end of stream?");
507507
F_abort();
508508
return false;
509509
}

0 commit comments

Comments
 (0)