projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed broken USB_GetNextDescriptor() function causing the descriptor to jump ahead...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
Pipe.c
diff --git
a/LUFA/Drivers/USB/LowLevel/Pipe.c
b/LUFA/Drivers/USB/LowLevel/Pipe.c
index
3f5272a
..
ccab074
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/Pipe.c
+++ b/
LUFA/Drivers/USB/LowLevel/Pipe.c
@@
-78,7
+78,7
@@
bool Pipe_IsEndpointBound(const uint8_t EndpointAddress)
{
\r
Pipe_SelectPipe(PNum);
\r
\r
- if (Pipe_IsConfigured() && (Pipe_BoundEndpointNumber() ==
EndpointAddress
))
\r
+ if (Pipe_IsConfigured() && (Pipe_BoundEndpointNumber() ==
(EndpointAddress & PIPE_EPNUM_MASK)
))
\r
return true;
\r
}
\r
\r