aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand.c b/src/flash/nand.c
index 2085028..77aa3e5 100644
--- a/src/flash/nand.c
+++ b/src/flash/nand.c
@@ -1620,7 +1620,7 @@ COMMAND_HANDLER(handle_nand_verify_command)
}
file.size -= bytes_read;
- file.address += nand->page_size;
+ dev.address += nand->page_size;
}
if (nand_fileio_finish(&file) == ERROR_OK)