aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/LEDNotifier
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-10-11 12:50:01 -0700
committerDean Camera <dean@fourwalledcubicle.com>2013-10-11 12:50:01 -0700
commit7024bb4c799b3573627323fa1305142739ed3500 (patch)
tree846d62348b643565eb37c928044dfac40c483740 /Projects/LEDNotifier
parentab238601b96e4d804640ccfef5a9bde51995da7f (diff)
parent352152c66433f1c317cd48529b2746be79fd17f5 (diff)
downloadlufa-7024bb4c799b3573627323fa1305142739ed3500.tar.gz
lufa-7024bb4c799b3573627323fa1305142739ed3500.tar.bz2
lufa-7024bb4c799b3573627323fa1305142739ed3500.zip
Merge pull request #9 from mondalaci/replace-remaining-interface-numbers-with-enums
Replace CDC interface numbers with enums.
Diffstat (limited to 'Projects/LEDNotifier')
-rw-r--r--Projects/LEDNotifier/Descriptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/LEDNotifier/Descriptors.c b/Projects/LEDNotifier/Descriptors.c
index f228c69ef..bf72c6da8 100644
--- a/Projects/LEDNotifier/Descriptors.c
+++ b/Projects/LEDNotifier/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 =