Skip to content

Commit 92168d0

Browse files
committed
Removing irrelevant debug output.
1 parent 4a3ff5e commit 92168d0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

+2-5
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,9 @@ int rp2040_connect_onOTARequest(char const * ota_url)
208208
return static_cast<int>(OTAError::RP2040_HttpDataError);
209209
}
210210

211-
/* Determine length. */
212-
int const file_len = ftell(file);
211+
/* Perform the reset to reboot to SFU. */
212+
DEBUG_INFO("%s: %d bytes received", __FUNCTION__, ftell(file));
213213
fclose(file);
214-
DEBUG_DEBUG("%s: %d bytes received (%d expected)", __FUNCTION__, file_len, content_length_val);
215-
216-
/* Perform the reset to reboot to SxU. */
217214
NVIC_SystemReset();
218215

219216
return static_cast<int>(OTAError::None);

0 commit comments

Comments
 (0)