Use the new USB_STRING_DESCRIPTOR macro for every string descriptor.

This commit is contained in:
László Monda 2014-01-05 00:21:15 +01:00 committed by Dean Camera
parent 28cadf077e
commit deb1675f84
47 changed files with 144 additions and 822 deletions

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;