This commit is contained in:
2026-02-25 12:07:03 +01:00
parent 5c8a35440e
commit dc2e8c2270
3 changed files with 31 additions and 19 deletions

View File

@@ -109,7 +109,7 @@ int put_binary_file(const char *filename, ssize_t filesize, uint32_t expected_cr
{
if (retry_count >= 10)
{
LOG_ERR("No data received from USB after multiple attempts");
LOG_ERR("No data received from USB after multiple attempts (received %zd bytes, expected %zd bytes)", bytes_written, filesize);
fs_close(&file);
return -ETIMEDOUT;
}