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)
8686{
8787 mbed_watchdog_reset ();
8888
89- // SFU::begin();
90-
9189 int err = -1 ;
9290 FlashIAPBlockDevice flash (XIP_BASE + 0xF00000 , 0x100000 );
9391 if ((err = flash.init ()) < 0 )
@@ -224,7 +222,6 @@ int rp2040_connect_onOTARequest(char const * ota_url)
224222 }
225223
226224 bytes_received++;
227- DEBUG_VERBOSE (" %d" , bytes_received);
228225 }
229226 }
230227
@@ -237,7 +234,6 @@ int rp2040_connect_onOTARequest(char const * ota_url)
237234 /* Perform the reset to reboot to SFU. */
238235 DEBUG_INFO (" %s: %d bytes received" , __FUNCTION__, ftell (file));
239236 fclose (file);
240- // NVIC_SystemReset();
241237 mbed_watchdog_trigger_reset ();
242238
243239 return static_cast <int >(OTAError::None);
You can’t perform that action at this time.
0 commit comments