aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/VirtualSerial/Descriptors.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/LowLevel/VirtualSerial/Descriptors.c')
-rw-r--r--Demos/Device/LowLevel/VirtualSerial/Descriptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/LowLevel/VirtualSerial/Descriptors.c b/Demos/Device/LowLevel/VirtualSerial/Descriptors.c
index 33f63371d..337cb5f5b 100644
--- a/Demos/Device/LowLevel/VirtualSerial/Descriptors.c
+++ b/Demos/Device/LowLevel/VirtualSerial/Descriptors.c
@@ -124,8 +124,8 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalUnion_t), .Type = DTYPE_CSInterface},
.Subtype = CDC_DSUBTYPE_CSInterface_Union,
- .MasterInterfaceNumber = 0,
- .SlaveInterfaceNumber = 1,
+ .MasterInterfaceNumber = INTERFACE_ID_CDC_CCI,
+ .SlaveInterfaceNumber = INTERFACE_ID_CDC_DCI,
},
.CDC_NotificationEndpoint =