diff options
| author | Keith Packard <keithp@keithp.com> | 2012-04-17 11:01:18 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-04-17 11:01:18 -0700 |
| commit | 1489263b895a2a825e29d0560c9b1dbba8a3f431 (patch) | |
| tree | ac77be0da392ca7a130fa24a6ce050c48022f116 /src/stm/ao_usb_stm.c | |
| parent | cc305ea231ae22278abf91c0d9925f5992945369 (diff) | |
altos: Starting to write cc1120 driver
This does "something" in radio test mode, appearing to generate a
730MHz signal.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_usb_stm.c')
| -rw-r--r-- | src/stm/ao_usb_stm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stm/ao_usb_stm.c b/src/stm/ao_usb_stm.c index 223fdeaa..71bf1bc7 100644 --- a/src/stm/ao_usb_stm.c +++ b/src/stm/ao_usb_stm.c @@ -1005,6 +1005,7 @@ ao_usb_echo(void) } #endif +#if USB_DEBUG static void ao_usb_irq(void) { @@ -1016,6 +1017,7 @@ __code struct ao_cmds ao_usb_cmds[] = { { ao_usb_irq, "I\0Show USB interrupt counts" }, { 0, NULL } }; +#endif void ao_usb_init(void) @@ -1027,7 +1029,9 @@ ao_usb_init(void) #if USB_ECHO ao_add_task(&ao_usb_echo_task, ao_usb_echo, "usb echo"); #endif +#if USB_DEBUG ao_cmd_register(&ao_usb_cmds[0]); +#endif #if !USB_ECHO ao_add_stdio(ao_usb_pollchar, ao_usb_putchar, ao_usb_flush); #endif |
