From bdedbd558ce3db0d7c1e0ff6cdde2f480277aff7 Mon Sep 17 00:00:00 2001 From: Dean Camera 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. --- Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c | 4 ++-- Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Demos/Host/LowLevel/PrinterHost') diff --git a/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c b/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c index 5a8731da0..b4f97ed6a 100644 --- a/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c +++ b/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c @@ -68,7 +68,7 @@ uint8_t ProcessConfigurationDescriptor(void) while (FoundEndpoints != ((1 << PRINTER_DATA_OUT_PIPE) | (1 << PRINTER_DATA_IN_PIPE))) { /* Fetch the next bulk endpoint from the current printer interface */ - if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation, DComp_NextInterfaceBulkDataEndpoint)) + if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation, DComp_NextPrinterInterfaceBulkDataEndpoint)) { /* Descriptor not found, error out */ return NoEndpointFound; @@ -123,7 +123,7 @@ uint8_t DComp_NextBidirectionalPrinterInterface(void* CurrentDescriptor) return DESCRIPTOR_SEARCH_NotFound; } -uint8_t DComp_NextInterfaceBulkDataEndpoint(void* CurrentDescriptor) +uint8_t DComp_NextPrinterInterfaceBulkDataEndpoint(void* CurrentDescriptor) { /* PURPOSE: Find next interface bulk endpoint descriptor before next interface descriptor */ diff --git a/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.h b/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.h index 3e24adc11..f400c0bf7 100644 --- a/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.h +++ b/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.h @@ -77,6 +77,6 @@ uint8_t ProcessConfigurationDescriptor(void); uint8_t DComp_NextBidirectionalPrinterInterface(void* CurrentDescriptor); - uint8_t DComp_NextInterfaceBulkDataEndpoint(void* CurrentDescriptor); + uint8_t DComp_NextPrinterInterfaceBulkDataEndpoint(void* CurrentDescriptor); #endif -- cgit v1.2.3