projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update changelogs for Debian build
[fw/altos]
/
src
/
ao_usb.c
diff --git
a/src/ao_usb.c
b/src/ao_usb.c
index 527e9b302ec387355317b447c7cacad1ea926540..d071fe6febfa8a7a41fc9d0e658774bb337f92e2 100644
(file)
--- a/
src/ao_usb.c
+++ b/
src/ao_usb.c
@@
-85,7
+85,7
@@
ao_usb_ep0_flush(void)
USBINDEX = 0;
cs0 = USBCS0;
if (cs0 & USBCS0_INPKT_RDY)
- ao_panic(
0
);
+ ao_panic(
AO_PANIC_USB
);
this_len = ao_usb_ep0_in_len;
if (this_len > AO_USB_CONTROL_SIZE)
@@
-395,7
+395,7
@@
ao_usb_pollchar(void) __critical
}
char
-ao_usb_getchar(void)
+ao_usb_getchar(void)
__critical
{
char c;