aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.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/VirtualSerial/VirtualSerial.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/VirtualSerial/VirtualSerial.c')
-rw-r--r--Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c b/Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c
index 0079acbfa..56b248d3c 100644
--- a/Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c
+++ b/Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c
@@ -44,7 +44,7 @@ USB_ClassInfo_CDC_Device_t VirtualSerial_CDC_Interface =
{
.Config =
{
- .ControlInterfaceNumber = 0,
+ .ControlInterfaceNumber = INTERFACE_ID_CDC_CCI,
.DataINEndpoint =
{
.Address = CDC_TX_EPADDR,