summaryrefslogtreecommitdiff
path: root/src/avr/ao_usb_avr.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-04-12 14:51:07 -0700
committerKeith Packard <keithp@keithp.com>2012-04-14 14:04:29 -0700
commit040a6eb119451026e1ec7c3a6a8e76b439c632d5 (patch)
treec334b0f83d8202626c544238b53def46339042b0 /src/avr/ao_usb_avr.c
parentf952f9c285e2718a433c8c720c9b5d9c369e7036 (diff)
altos: Massive product config cleanup
Support multiple serial ports more cleanly Split out parts of ao.h into separate feature header files Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/avr/ao_usb_avr.c')
-rw-r--r--src/avr/ao_usb_avr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/avr/ao_usb_avr.c b/src/avr/ao_usb_avr.c
index fc8899d8..23a27c73 100644
--- a/src/avr/ao_usb_avr.c
+++ b/src/avr/ao_usb_avr.c
@@ -330,17 +330,17 @@ ao_usb_ep0_setup(void)
case AO_USB_TYPE_CLASS:
debug ("Class setup packet\n");
switch (ao_usb_setup.request) {
- case SET_LINE_CODING:
+ case AO_USB_SET_LINE_CODING:
debug ("set line coding\n");
ao_usb_ep0_out_len = 7;
ao_usb_ep0_out_data = (__xdata uint8_t *) &ao_usb_line_coding;
break;
- case GET_LINE_CODING:
+ case AO_USB_GET_LINE_CODING:
debug ("get line coding\n");
ao_usb_ep0_in_len = 7;
ao_usb_ep0_in_data = (uint8_t *) &ao_usb_line_coding;
break;
- case SET_CONTROL_LINE_STATE:
+ case AO_USB_SET_CONTROL_LINE_STATE:
break;
}
break;