We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6044ad9 commit 38e5ff7Copy full SHA for 38e5ff7
src/utility/ota/OTA-nano-rp2040.cpp
@@ -119,6 +119,8 @@ int rp2040_connect_onOTARequest(char const * ota_url)
119
120
watchdog_reset();
121
122
+ DEBUG_VERBOSE("%s downloading: %s", __FUNCTION__, ota_url);
123
+
124
URI url(ota_url);
125
Client * client = nullptr;
126
int port = 0;
@@ -241,6 +243,9 @@ int rp2040_connect_onOTARequest(char const * ota_url)
241
243
return static_cast<int>(OTAError::RP2040_ErrorUnmount);
242
244
}
245
246
+ DEBUG_VERBOSE("%s download successful", __FUNCTION__);
247
+ DEBUG_VERBOSE("%s performing reset to reboot", __FUNCTION__);
248
249
/* Perform the reset to reboot to SFU. */
250
mbed_watchdog_trigger_reset();
251
/* If watchdog is enabled we should not reach this point */
0 commit comments