projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd2480f
)
altos: oops -- 'e' command was only showing 7 of the 8 bytes per line
author
Keith Packard
<keithp@keithp.com>
Wed, 12 Jan 2011 05:26:41 +0000
(21:26 -0800)
committer
Keith Packard
<keithp@keithp.com>
Wed, 12 Jan 2011 05:26:41 +0000
(21:26 -0800)
Just a silly off-by-one error when printing out the data received from flash.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_storage.c
patch
|
blob
|
history
diff --git
a/src/ao_storage.c
b/src/ao_storage.c
index c51bec4a55328d487482f5d945a7065726d243cd..709259ee977cee2305fcabc04c18efddc1c3a56d 100644
(file)
--- 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]);
}