projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ao-tools: reboot to loader now uses 'X' instead of 'L'
[fw/altos]
/
ao-tools
/
ao-stmload
/
ao-stmload.c
diff --git
a/ao-tools/ao-stmload/ao-stmload.c
b/ao-tools/ao-stmload/ao-stmload.c
index b9bf4392bc6e55f8b72c2ec758968e153b7009c7..35d4b2990d7946078299efd20663e8f455c41cec 100644
(file)
--- a/
ao-tools/ao-stmload/ao-stmload.c
+++ b/
ao-tools/ao-stmload/ao-stmload.c
@@
-403,7
+403,7
@@
main (int argc, char **argv)
if (is_loader)
break;
printf ("rebooting to loader\n");
if (is_loader)
break;
printf ("rebooting to loader\n");
- cc_usb_printf(cc, "
L
\n");
+ cc_usb_printf(cc, "
X
\n");
cc_usb_close(cc);
sleep(1);
cc = NULL;
cc_usb_close(cc);
sleep(1);
cc = NULL;
@@
-427,7
+427,7
@@
main (int argc, char **argv)
fflush(stdout);
ao_self_block_write(cc, 0x08002000, block);
ao_self_block_read(cc, 0x08002000, block);
fflush(stdout);
ao_self_block_write(cc, 0x08002000, block);
ao_self_block_read(cc, 0x08002000, block);
- if (memcmp(block, check, 256
/me ta
) != 0) {
+ if (memcmp(block, check, 256) != 0) {
fprintf (stderr, "read differed\n");
exit(1);
}
fprintf (stderr, "read differed\n");
exit(1);
}