We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b05daef commit fd7cb6bCopy full SHA for fd7cb6b
src/utility/ota/OTA-portenta-h7.cpp
@@ -40,6 +40,10 @@ int portenta_h7_onOTARequest(char const * ota_url)
40
/* Use 2nd partition of QSPI (1st partition contains WiFi firmware) */
41
Arduino_Portenta_OTA_QSPI ota_portenta_qspi(QSPI_FLASH_FATFS_MBR, 2);
42
43
+#if defined (PORTENTA_OTA_HAS_WATCHDOG_FEED)
44
+ ota_portenta_qspi.setFeedWatchdogFunc((voidPrtFuncPtr)watchdog_reset);
45
+#endif
46
+
47
watchdog_reset();
48
49
/* Initialize the QSPI memory for OTA handling. */
0 commit comments