Use the new USB_STRING_DESCRIPTOR macro for every string descriptor.

This commit is contained in:
László Monda authored and Dean Camera committed 2014-01-08 10:36:19 +11:00
1 parent 28cadf077e
commit deb1675f84
47 files changed
+144 -822

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ uint8_t ProcessConfigurationDescriptor(void)
/* Get the next HID interface from the configuration descriptor */
if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,
DComp_NextHIDInterface) != DESCRIPTOR_SEARCH_COMP_Found)
DComp_NextHIDInterface) != DESCRIPTOR_SEARCH_COMP_Found)
{
/* Descriptor not found, error out */
return NoCompatibleInterfaceFound;