projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add const attribute to class driver APIs.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
Host.c
diff --git
a/LUFA/Drivers/USB/LowLevel/Host.c
b/LUFA/Drivers/USB/LowLevel/Host.c
index
2685f5f
..
9186f1c
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/Host.c
+++ b/
LUFA/Drivers/USB/LowLevel/Host.c
@@
-312,7
+312,7
@@
uint8_t USB_Host_GetDeviceDescriptor(void* const DeviceDescriptorPtr)
uint8_t USB_Host_ClearPipeStall(uint8_t EndpointNum)
\r
{
\r
if (Pipe_GetPipeToken() == PIPE_TOKEN_IN)
\r
- EndpointNum |=
(1 << 7)
;
\r
+ EndpointNum |=
ENDPOINT_DESCRIPTOR_DIR_IN
;
\r
\r
USB_ControlRequest = (USB_Request_Header_t)
\r
{
\r