mirror of
https://github.com/pine64/blisp.git
synced 2025-01-03 04:10:31 +00:00
fix: Fix mismatching format strings when writing
We were using the incorrect format string - this commit fixes that. Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
parent
d63612c256
commit
d51e7bcc1e
@ -233,13 +233,13 @@ blisp_return_t blisp_flash_firmware() {
|
|||||||
|
|
||||||
if (ret != BLISP_OK) {
|
if (ret != BLISP_OK) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Failed to erase flash. Tried to erase from 0x%08X to 0x%08X\n",
|
"Failed to erase flash. Tried to erase from 0x%08lu to 0x%08lu\n",
|
||||||
parsed_file.payload_address,
|
parsed_file.payload_address,
|
||||||
parsed_file.payload_address + parsed_file.payload_length + 1);
|
parsed_file.payload_address + parsed_file.payload_length + 1);
|
||||||
goto exit2;
|
goto exit2;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Flashing the firmware %d bytes @ 0x%08X...\n",
|
printf("Flashing the firmware %lu bytes @ 0x%08lu...\n",
|
||||||
parsed_file.payload_length, parsed_file.payload_address);
|
parsed_file.payload_length, parsed_file.payload_address);
|
||||||
struct blisp_easy_transport data_transport =
|
struct blisp_easy_transport data_transport =
|
||||||
blisp_easy_transport_new_from_memory(parsed_file.payload,
|
blisp_easy_transport_new_from_memory(parsed_file.payload,
|
||||||
|
Loading…
Reference in New Issue
Block a user