summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-01-11 21:26:41 -0800
committerKeith Packard <keithp@keithp.com>2011-01-11 21:26:41 -0800
commit7ad419d81c90ef6a16656970466313767fef830f (patch)
treec6ec4f79d007eaa5ff5cff8d1060d511a71144ad /src
parentbd2480fd757b67557d9c7de42e402034002c3e37 (diff)
altos: oops -- 'e' command was only showing 7 of the 8 bytes per line
Just a silly off-by-one error when printing out the data received from flash. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/ao_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_storage.c b/src/ao_storage.c
index c51bec4a..709259ee 100644
--- a/src/ao_storage.c
+++ b/src/ao_storage.c
@@ -92,7 +92,7 @@ ao_storage_dump(void) __reentrant
storage_data,
8)) {
ao_cmd_put16((uint16_t) i);
- for (j = 0; j < 7; j++) {
+ for (j = 0; j < 8; j++) {
putchar(' ');
ao_cmd_put8(storage_data[j]);
}