diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-10-08 07:00:44 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-10-08 07:00:44 +0000 |
commit | bdedbd558ce3db0d7c1e0ff6cdde2f480277aff7 (patch) | |
tree | f63699f277ed035c857193d28ae5a4816faa1563 /Demos/Host/LowLevel/GenericHIDHost | |
parent | 09575f9607e12ddf7284f6c8974a332a88d4ed3b (diff) | |
download | lufa-bdedbd558ce3db0d7c1e0ff6cdde2f480277aff7.tar.gz lufa-bdedbd558ce3db0d7c1e0ff6cdde2f480277aff7.tar.bz2 lufa-bdedbd558ce3db0d7c1e0ff6cdde2f480277aff7.zip |
Add new MIDIHost LowLevel demo application.
Make unfinished device mode applications use the VID/PID reserved for LUFA development devices.
Diffstat (limited to 'Demos/Host/LowLevel/GenericHIDHost')
-rw-r--r-- | Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c | 4 | ||||
-rw-r--r-- | Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c b/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c index 6730fdba5..ce906b0a0 100644 --- a/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c +++ b/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c @@ -77,7 +77,7 @@ uint8_t ProcessConfigurationDescriptor(void) {
/* Get the next HID interface's data endpoint descriptor */
if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation,
- DComp_NextInterfaceHIDDataEndpoint) != DESCRIPTOR_SEARCH_COMP_Found)
+ DComp_NextHIDInterfaceDataEndpoint) != DESCRIPTOR_SEARCH_COMP_Found)
{
/* Not all HID devices have an OUT endpoint - if we've reached the end of the HID descriptor
* but only found the mandatory IN endpoint, it's safe to continue with the device enumeration */
@@ -148,7 +148,7 @@ uint8_t DComp_NextHIDInterface(void* CurrentDescriptor) *
* \return A value from the DSEARCH_Return_ErrorCodes_t enum
*/
-uint8_t DComp_NextInterfaceHIDDataEndpoint(void* CurrentDescriptor)
+uint8_t DComp_NextHIDInterfaceDataEndpoint(void* CurrentDescriptor)
{
/* Determine the type of the current descriptor */
if (DESCRIPTOR_TYPE(CurrentDescriptor) == DTYPE_Endpoint)
diff --git a/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.h b/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.h index b58d44027..48616106d 100644 --- a/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.h +++ b/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.h @@ -64,6 +64,6 @@ uint8_t ProcessConfigurationDescriptor(void);
uint8_t DComp_NextHIDInterface(void* CurrentDescriptor);
- uint8_t DComp_NextInterfaceHIDDataEndpoint(void* CurrentDescriptor);
+ uint8_t DComp_NextHIDInterfaceDataEndpoint(void* CurrentDescriptor);
#endif
|