projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new MIDIHost LowLevel demo application.
[pub/lufa.git]
/
Demos
/
Host
/
LowLevel
/
PrinterHost
/
ConfigDescriptor.c
diff --git
a/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c
b/Demos/Host/LowLevel/PrinterHost/ConfigDescriptor.c
index
5a8731d
..
b4f97ed
100644
(file)
--- 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)))
\r
{
\r
/* Fetch the next bulk endpoint from the current printer interface */
\r
while (FoundEndpoints != ((1 << PRINTER_DATA_OUT_PIPE) | (1 << PRINTER_DATA_IN_PIPE)))
\r
{
\r
/* Fetch the next bulk endpoint from the current printer interface */
\r
- if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation, DComp_NextInterfaceBulkDataEndpoint))
\r
+ if (USB_GetNextDescriptorComp(&CurrConfigBytesRem, &CurrConfigLocation, DComp_Next
Printer
InterfaceBulkDataEndpoint))
\r
{
\r
/* Descriptor not found, error out */
\r
return NoEndpointFound;
\r
{
\r
/* Descriptor not found, error out */
\r
return NoEndpointFound;
\r
@@
-123,7
+123,7
@@
uint8_t DComp_NextBidirectionalPrinterInterface(void* CurrentDescriptor)
return DESCRIPTOR_SEARCH_NotFound;
\r
}
\r
\r
return DESCRIPTOR_SEARCH_NotFound;
\r
}
\r
\r
-uint8_t DComp_NextInterfaceBulkDataEndpoint(void* CurrentDescriptor)
\r
+uint8_t DComp_Next
Printer
InterfaceBulkDataEndpoint(void* CurrentDescriptor)
\r
{
\r
/* PURPOSE: Find next interface bulk endpoint descriptor before next interface descriptor */
\r
\r
{
\r
/* PURPOSE: Find next interface bulk endpoint descriptor before next interface descriptor */
\r
\r