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 /Projects/USBtoSerial | |
parent | ab238601b96e4d804640ccfef5a9bde51995da7f (diff) | |
download | lufa-352152c66433f1c317cd48529b2746be79fd17f5.tar.gz lufa-352152c66433f1c317cd48529b2746be79fd17f5.tar.bz2 lufa-352152c66433f1c317cd48529b2746be79fd17f5.zip |
Replace CDC interface numbers with enums.
Diffstat (limited to 'Projects/USBtoSerial')
-rw-r--r-- | Projects/USBtoSerial/Descriptors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/USBtoSerial/Descriptors.c b/Projects/USBtoSerial/Descriptors.c index ea0a84a0c..fd3d4395f 100644 --- a/Projects/USBtoSerial/Descriptors.c +++ b/Projects/USBtoSerial/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 = |