diff options
author | László Monda <laci@monda.hu> | 2013-10-10 00:32:35 +0200 |
---|---|---|
committer | László Monda <laci@monda.hu> | 2013-10-10 00:32:35 +0200 |
commit | 352152c66433f1c317cd48529b2746be79fd17f5 (patch) | |
tree | 846d62348b643565eb37c928044dfac40c483740 /Demos/Device/LowLevel/VirtualSerial | |
parent | ab238601b96e4d804640ccfef5a9bde51995da7f (diff) | |
download | lufa-352152c66433f1c317cd48529b2746be79fd17f5.tar.gz lufa-352152c66433f1c317cd48529b2746be79fd17f5.tar.bz2 lufa-352152c66433f1c317cd48529b2746be79fd17f5.zip |
Replace CDC interface numbers with enums.
Diffstat (limited to 'Demos/Device/LowLevel/VirtualSerial')
-rw-r--r-- | Demos/Device/LowLevel/VirtualSerial/Descriptors.c | 4 |
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 = |