diff options
| author | Dean Camera <dean@fourwalledcubicle.com> | 2013-10-06 13:22:23 -0700 | 
|---|---|---|
| committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-10-06 13:22:23 -0700 | 
| commit | 7ce4d35c3909e0b55d0a184c3d9b2b8cb35b0131 (patch) | |
| tree | 3abbab4d1860ea31d30d7a72496fc9959fecb858 /Demos/Device/ClassDriver/DualVirtualSerial/Descriptors.c | |
| parent | 8e2476a125d6a4bd0385eb0f9569ac597bdbf9ed (diff) | |
| parent | 9ef29ea2293dde7225360fe258224d22d3a68756 (diff) | |
| download | lufa-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/Descriptors.c')
| -rw-r--r-- | Demos/Device/ClassDriver/DualVirtualSerial/Descriptors.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/Demos/Device/ClassDriver/DualVirtualSerial/Descriptors.c b/Demos/Device/ClassDriver/DualVirtualSerial/Descriptors.c index d0992de4b..245231852 100644 --- a/Demos/Device/ClassDriver/DualVirtualSerial/Descriptors.c +++ b/Demos/Device/ClassDriver/DualVirtualSerial/Descriptors.c @@ -105,7 +105,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =  		{  			.Header                 = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface}, -			.InterfaceNumber        = 0, +			.InterfaceNumber        = INTERFACE_ID_CDC1_CCI,  			.AlternateSetting       = 0,  			.TotalEndpoints         = 1, @@ -156,7 +156,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =  		{  			.Header                 = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface}, -			.InterfaceNumber        = 1, +			.InterfaceNumber        = INTERFACE_ID_CDC1_DCI,  			.AlternateSetting       = 0,  			.TotalEndpoints         = 2, @@ -206,7 +206,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =  		{  			.Header                 = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface}, -			.InterfaceNumber        = 2, +			.InterfaceNumber        = INTERFACE_ID_CDC2_CCI,  			.AlternateSetting       = 0,  			.TotalEndpoints         = 1, @@ -257,7 +257,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =  		{  			.Header                 = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface}, -			.InterfaceNumber        = 3, +			.InterfaceNumber        = INTERFACE_ID_CDC2_DCI,  			.AlternateSetting       = 0,  			.TotalEndpoints         = 2,  | 
