From eb169ea5a89909b90794e0388f89d6d372754e46 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 5 Oct 2017 16:09:59 +0200 Subject: Move test units to z80/tests, and drivers are now statically linked Makefiles for the test units were getting messier, so now drivers (that need to be tested) are statically compiled in their own folder under z80/drivers. The kernel makefile and is now broken since everything has been moved. --- sw/programmer/linux/src/flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/programmer/linux/src') 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)); -- cgit v1.2.1