Skip to content

Commit 9030adc

Browse files
committed
Fix -Wreturn-type warning
1 parent bee1cc5 commit 9030adc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utility/ota/OTA-samd.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ int samd_onOTARequest(char const * ota_url)
5757

5858
/* Perform the reset to reboot to SxU. */
5959
NVIC_SystemReset();
60+
61+
return static_cast<int>(OTAError::None);
6062
#endif /* OTA_STORAGE_SNU */
6163
}
6264

0 commit comments

Comments
 (0)