From: Keith Packard Date: Wed, 12 Jan 2011 05:26:41 +0000 (-0800) Subject: altos: oops -- 'e' command was only showing 7 of the 8 bytes per line X-Git-Tag: debian/0.8.1+36+gd794ef9~4 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=7ad419d81c90ef6a16656970466313767fef830f 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 --- 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]); }