Use the new USB_STRING_DESCRIPTOR macro for every string descriptor.
This commit is contained in:
1 parent
28cadf077e
commit
deb1675f84
47 files changed
+144
-822
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user