Skip to content

Commit 87766d8

Browse files
committed
UNOR4 OTA: add missing return value
1 parent 59e326f commit 87766d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ota/implementation/OTAUnoR4.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ OTACloudProcessInterface::State UNOR4OTACloudProcess::flashOTA() {
105105
}
106106

107107
OTACloudProcessInterface::State UNOR4OTACloudProcess::reboot() {
108+
/* This is never called; the microcontroller reboots in flashOTA state */
109+
return Resume;
108110
}
109111

110112
void UNOR4OTACloudProcess::reset() {

0 commit comments

Comments
 (0)