projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed SET FEATURE and CLEAR FEATURE control requests directed at an unconfigured...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
Template
/
Template_Endpoint_Control_W.c
diff --git
a/LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c
b/LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c
index
dc2c37d
..
c9d81f3
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c
+++ b/
LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c
@@
-24,7
+24,7
@@
uint8_t TEMPLATE_FUNC_NAME (const void* Buffer,
if (Endpoint_IsINReady())
{
- uint
8
_t BytesInEndpoint = Endpoint_BytesInEndpoint();
+ uint
16
_t BytesInEndpoint = Endpoint_BytesInEndpoint();
while (Length && (BytesInEndpoint < USB_ControlEndpointSize))
{