summaryrefslogtreecommitdiff
path: root/src/flash/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nand.c')
-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 2085028c..77aa3e57 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)