File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,6 @@ int rp2040_connect_onOTARequest(char const * ota_url)
86
86
{
87
87
mbed_watchdog_reset ();
88
88
89
- // SFU::begin();
90
-
91
89
int err = -1 ;
92
90
FlashIAPBlockDevice flash (XIP_BASE + 0xF00000 , 0x100000 );
93
91
if ((err = flash.init ()) < 0 )
@@ -224,7 +222,6 @@ int rp2040_connect_onOTARequest(char const * ota_url)
224
222
}
225
223
226
224
bytes_received++;
227
- DEBUG_VERBOSE (" %d" , bytes_received);
228
225
}
229
226
}
230
227
@@ -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
237
mbed_watchdog_trigger_reset ();
242
238
243
239
return static_cast <int >(OTAError::None);
You can’t perform that action at this time.
0 commit comments