From: Keith Packard Date: Mon, 16 Jul 2012 21:37:58 +0000 (-0700) Subject: altos/avr: Remove debugging command from USB driver X-Git-Tag: 1.1~91 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=81b7b58c9df01847fa47747deeff8c3c91304ad1 altos/avr: Remove debugging command from USB driver Signed-off-by: Keith Packard --- diff --git a/src/avr/ao_usb_avr.c b/src/avr/ao_usb_avr.c index 23a27c73..9ba407af 100644 --- a/src/avr/ao_usb_avr.c +++ b/src/avr/ao_usb_avr.c @@ -658,18 +658,6 @@ ao_usb_echo(void) } #endif -static void -ao_usb_irq(void) -{ - printf ("control: %d out: %d in: %d\n", - control_count, out_count, in_count); -} - -__code struct ao_cmds ao_usb_cmds[] = { - { ao_usb_irq, "i\0Show USB interrupt counts" }, - { 0, NULL } -}; - void ao_usb_init(void) { @@ -680,6 +668,5 @@ ao_usb_init(void) #if USB_DEBUG ao_add_task(&ao_usb_echo_task, ao_usb_echo, "usb echo"); #endif - ao_cmd_register(&ao_usb_cmds[0]); ao_add_stdio(ao_usb_pollchar, ao_usb_putchar, ao_usb_flush); }