summaryrefslogtreecommitdiff
path: root/src/core/ao_product.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/core/ao_product.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/core/ao_product.c')
-rw-r--r--src/core/ao_product.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ao_product.c b/src/core/ao_product.c
index fb59580b..f79922f5 100644
--- a/src/core/ao_product.c
+++ b/src/core/ao_product.c
@@ -70,26 +70,26 @@ __code __at(0x00aa) uint8_t ao_usb_descriptors [] =
/* Header functional descriptor */
0x05,
- CS_INTERFACE,
+ AO_USB_CS_INTERFACE,
0x00, /* bDescriptor SubType Header */
LE_WORD(0x0110), /* CDC version 1.1 */
/* Call management functional descriptor */
0x05,
- CS_INTERFACE,
+ AO_USB_CS_INTERFACE,
0x01, /* bDescriptor SubType Call Management */
0x01, /* bmCapabilities = device handles call management */
0x01, /* bDataInterface call management interface number */
/* ACM functional descriptor */
0x04,
- CS_INTERFACE,
+ AO_USB_CS_INTERFACE,
0x02, /* bDescriptor SubType Abstract Control Management */
0x02, /* bmCapabilities = D1 (Set_line_Coding, Set_Control_Line_State, Get_Line_Coding and Serial_State) */
/* Union functional descriptor */
0x05,
- CS_INTERFACE,
+ AO_USB_CS_INTERFACE,
0x06, /* bDescriptor SubType Union Functional descriptor */
0x00, /* bMasterInterface */
0x01, /* bSlaveInterface0 */