This commit is contained in:
2026-02-25 12:28:28 +01:00
parent dc2e8c2270
commit 186e721bb1
3 changed files with 43 additions and 12 deletions

View File

@@ -129,8 +129,8 @@ int put_binary_file(const char *filename, ssize_t filesize, uint32_t expected_cr
continue;
}
// ssize_t written = fs_write(&file, buffer, read);
ssize_t written = read;
ssize_t written = fs_write(&file, buffer, read);
//ssize_t written = read;
if (written < 0)
{
LOG_ERR("Error writing to file '%s': %d", filename, (int)written);