diff options
Diffstat (limited to 'sw/programmer/linux/src')
-rw-r--r-- | sw/programmer/linux/src/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/programmer/linux/src/flash.c b/sw/programmer/linux/src/flash.c index 6fcd09f..24d5269 100644 --- a/sw/programmer/linux/src/flash.c +++ b/sw/programmer/linux/src/flash.c @@ -32,7 +32,7 @@ int flash_write(const char *romfile, void (*log)(const char *)) log("[!] Error while reading from file\n"); break; } - + head.addr = (uint16_t) lseek(romfd, 0, SEEK_CUR); written = write(flash_serial_fd, &head, sizeof(struct flash_blk)); |