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/Clear Feature requests directed to a non-configured endpoint not returning...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
Template
/
Template_Endpoint_Control_W.c
diff --git
a/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c
b/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c
index
70560cf
..
7868060
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c
+++ b/
LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c
@@
-21,7
+21,7
@@
uint8_t TEMPLATE_FUNC_NAME (const void* Buffer, uint16_t Length)
\r
if (Endpoint_IsINReady())
\r
{
\r
- uint
16
_t BytesInEndpoint = Endpoint_BytesInEndpoint();
\r
+ uint
8
_t BytesInEndpoint = Endpoint_BytesInEndpoint();
\r
\r
while (Length && (BytesInEndpoint < USB_ControlEndpointSize))
\r
{
\r