Use the new USB_STRING_DESCRIPTOR macro for every string descriptor.
This commit is contained in:
parent
28cadf077e
commit
deb1675f84
47 changed files with 144 additions and 822 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
/*
|
||||
USB Missile Launcher Demo
|
||||
Copyright (C) Dave Fletcher, 2010.
|
||||
fletch at fletchtronics dot net
|
||||
USB Missile Launcher Demo
|
||||
Copyright (C) Dave Fletcher, 2010.
|
||||
fletch at fletchtronics dot net
|
||||
|
||||
Based on research by Scott Weston at
|
||||
http://code.google.com/p/pymissile
|
||||
Based on research by Scott Weston at
|
||||
http://code.google.com/p/pymissile
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue