We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f89f35 commit fc5dd4fCopy full SHA for fc5dd4f
src/utility/ota/OTA-nano-rp2040.cpp
@@ -86,8 +86,6 @@ int rp2040_connect_onOTARequest(char const * ota_url)
86
{
87
mbed_watchdog_reset();
88
89
- //SFU::begin();
90
-
91
int err = -1;
92
FlashIAPBlockDevice flash(XIP_BASE + 0xF00000, 0x100000);
93
if ((err = flash.init()) < 0)
@@ -224,7 +222,6 @@ int rp2040_connect_onOTARequest(char const * ota_url)
224
222
}
225
223
226
bytes_received++;
227
- DEBUG_VERBOSE("%d", bytes_received);
228
229
230
@@ -237,7 +234,6 @@ int rp2040_connect_onOTARequest(char const * ota_url)
237
234
/* Perform the reset to reboot to SFU. */
238
235
DEBUG_INFO("%s: %d bytes received", __FUNCTION__, ftell(file));
239
236
fclose(file);
240
- //NVIC_SystemReset();
241
mbed_watchdog_trigger_reset();
242
243
return static_cast<int>(OTAError::None);
0 commit comments