diff options
author | László Monda <[email protected]> | 2013-10-06 22:16:20 +0200 |
---|---|---|
committer | László Monda <[email protected]> | 2013-10-06 22:16:20 +0200 |
commit | 9ef29ea2293dde7225360fe258224d22d3a68756 (patch) | |
tree | 8b97bebc31be97f73384a605ccc2f41b2a04d492 /Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c | |
parent | cd3aae87daa243413413ab9fc4e32c225c3bea03 (diff) | |
download | qmk_firmware-9ef29ea2293dde7225360fe258224d22d3a68756.tar.gz qmk_firmware-9ef29ea2293dde7225360fe258224d22d3a68756.zip |
Extract interface numbers into enums.
Diffstat (limited to 'Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c')
-rw-r--r-- | Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c b/Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c index 2209d5144b..5749b365f5 100644 --- a/Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c +++ b/Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c @@ -106,7 +106,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = { .Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface}, - .InterfaceNumber = 0, + .InterfaceNumber = INTERFACE_ID_MassStorage, .AlternateSetting = 0, .TotalEndpoints = 2, @@ -142,7 +142,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = { .Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface}, - .InterfaceNumber = 1, + .InterfaceNumber = INTERFACE_ID_Keyboard, .AlternateSetting = 0, .TotalEndpoints = 1, |