Skip to content

Commit 7ba5c37

Browse files
fixup! Implemented non blocking download for unor4, if the wifi fw supports it
1 parent 3e6fe5a commit 7ba5c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ota/implementation/OTAUnoR4.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ OTACloudProcessInterface::State UNOR4OTACloudProcess::fetch() {
7373

7474
if(progress < context->downloadSize) {
7575
return Fetch;
76-
} else if(progress > context->downloadSize) {
76+
} else if(progress > context->downloadSize || progress < 0) {
7777
return OtaDownloadFail;
7878
} else {
7979
return FlashOTA;

0 commit comments

Comments
 (0)