X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/09575f9607e12ddf7284f6c8974a332a88d4ed3b..bdedbd558ce3db0d7c1e0ff6cdde2f480277aff7:/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c 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 */