summaryrefslogtreecommitdiffstats
path: root/sw/programmer/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sw/programmer/linux')
-rw-r--r--sw/programmer/linux/src/flash.c2
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));