projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make AVRISP XPROG function parameters const where possible.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Host
/
RNDIS.c
diff --git
a/LUFA/Drivers/USB/Class/Host/RNDIS.c
b/LUFA/Drivers/USB/Class/Host/RNDIS.c
index
5966ed8
..
b06b890
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/RNDIS.c
+++ b/
LUFA/Drivers/USB/Class/Host/RNDIS.c
@@
-179,7
+179,8
@@
static uint8_t DComp_RNDIS_Host_NextRNDISInterfaceEndpoint(void* const CurrentDe
\r
uint8_t EndpointType = (CurrentEndpoint->Attributes & EP_TYPE_MASK);
\r
\r
\r
uint8_t EndpointType = (CurrentEndpoint->Attributes & EP_TYPE_MASK);
\r
\r
- if ((EndpointType == EP_TYPE_BULK) || (EndpointType == EP_TYPE_INTERRUPT))
\r
+ if (((EndpointType == EP_TYPE_BULK) || (EndpointType == EP_TYPE_INTERRUPT)) &&
\r
+ !(Pipe_IsEndpointBound(CurrentEndpoint->EndpointAddress)))
\r
{
\r
return DESCRIPTOR_SEARCH_Found;
\r
}
\r
{
\r
return DESCRIPTOR_SEARCH_Found;
\r
}
\r