From 2f176c7b8f3fe151022b13791ba8f19204dabcd7 Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 8 Oct 2009 07:00:44 +0000 Subject: Add new MIDIHost LowLevel demo application. Make unfinished device mode applications use the VID/PID reserved for LUFA development devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@861 d5102386-fcda-11dd-9fdb-3debd5008f28 --- Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c') diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c b/Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c index d09e4c49..3c8bb742 100644 --- a/Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/ConfigDescriptor.c @@ -85,7 +85,7 @@ uint8_t ProcessConfigurationDescriptor(void) /* Get the keyboard interface's data endpoint descriptor */ if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation, - DComp_NextInterfaceKeyboardDataEndpoint) != DESCRIPTOR_SEARCH_COMP_Found) + DComp_NextKeyboardInterfaceDataEndpoint) != DESCRIPTOR_SEARCH_COMP_Found) { /* Descriptor not found, error out */ return NoEndpointFound; @@ -134,7 +134,7 @@ uint8_t DComp_NextKeyboardInterface(void* CurrentDescriptor) * * \return A value from the DSEARCH_Return_ErrorCodes_t enum */ -uint8_t DComp_NextInterfaceKeyboardDataEndpoint(void* CurrentDescriptor) +uint8_t DComp_NextKeyboardInterfaceDataEndpoint(void* CurrentDescriptor) { if (DESCRIPTOR_TYPE(CurrentDescriptor) == DTYPE_Endpoint) { -- cgit v1.2.3