Skip to content

Commit fc5dd4f

Browse files
committed
Cleaning up missing comments.
1 parent 4f89f35 commit fc5dd4f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/utility/ota/OTA-nano-rp2040.cpp

-4
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)