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 /Bootloaders/CDC | |
parent | ab238601b96e4d804640ccfef5a9bde51995da7f (diff) | |
download | lufa-352152c66433f1c317cd48529b2746be79fd17f5.tar.gz lufa-352152c66433f1c317cd48529b2746be79fd17f5.tar.bz2 lufa-352152c66433f1c317cd48529b2746be79fd17f5.zip |
Replace CDC interface numbers with enums.
Diffstat (limited to 'Bootloaders/CDC')
-rw-r--r-- | Bootloaders/CDC/Descriptors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bootloaders/CDC/Descriptors.c b/Bootloaders/CDC/Descriptors.c index 2b85b0126..5bcc4e7a3 100644 --- a/Bootloaders/CDC/Descriptors.c +++ b/Bootloaders/CDC/Descriptors.c @@ -123,8 +123,8 @@ const USB_Descriptor_Configuration_t ConfigurationDescriptor = .Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalUnion_t), .Type = DTYPE_CSInterface}, .Subtype = 0x06, - .MasterInterfaceNumber = 0, - .SlaveInterfaceNumber = 1, + .MasterInterfaceNumber = INTERFACE_ID_CDC_CCI, + .SlaveInterfaceNumber = INTERFACE_ID_CDC_DCI, }, .CDC_NotificationEndpoint = |