altos/avr: Remove debugging command from USB driver
authorKeith Packard <keithp@keithp.com>
Mon, 16 Jul 2012 21:37:58 +0000 (14:37 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 16 Jul 2012 21:37:58 +0000 (14:37 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/avr/ao_usb_avr.c

index 23a27c73beda83e983414b334a4014196c1d82c6..9ba407af6f6a3e0f1027f4e5c5e5fa2378bfee6b 100644 (file)
@@ -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);
 }