aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-10-06 13:22:23 -0700
committerDean Camera <dean@fourwalledcubicle.com>2013-10-06 13:22:23 -0700
commit7ce4d35c3909e0b55d0a184c3d9b2b8cb35b0131 (patch)
tree3abbab4d1860ea31d30d7a72496fc9959fecb858 /Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
parent8e2476a125d6a4bd0385eb0f9569ac597bdbf9ed (diff)
parent9ef29ea2293dde7225360fe258224d22d3a68756 (diff)
downloadlufa-7ce4d35c3909e0b55d0a184c3d9b2b8cb35b0131.tar.gz
lufa-7ce4d35c3909e0b55d0a184c3d9b2b8cb35b0131.tar.bz2
lufa-7ce4d35c3909e0b55d0a184c3d9b2b8cb35b0131.zip
Merge pull request #8 from mondalaci/extract-interface-numbers
Extract interface numbers into enums.
Diffstat (limited to 'Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c')
-rw-r--r--Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c b/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
index eaba6185a..070ebc791 100644
--- a/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
+++ b/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
@@ -45,7 +45,7 @@ USB_ClassInfo_CDC_Device_t VirtualSerial1_CDC_Interface =
{
.Config =
{
- .ControlInterfaceNumber = 0,
+ .ControlInterfaceNumber = INTERFACE_ID_CDC1_CCI,
.DataINEndpoint =
{
.Address = CDC1_TX_EPADDR,
@@ -76,7 +76,7 @@ USB_ClassInfo_CDC_Device_t VirtualSerial2_CDC_Interface =
{
.Config =
{
- .ControlInterfaceNumber = 2,
+ .ControlInterfaceNumber = INTERFACE_ID_CDC2_CCI,
.DataINEndpoint =
{
.Address = CDC2_TX_EPADDR,