projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Altered all endpoint/pipe stream transfers so that the new BytesProcessed parameter...
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
Template
/
Template_Endpoint_Control_R.c
diff --git
a/LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_R.c
b/LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_R.c
index
5cc11d7
..
cd11705
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_R.c
+++ b/
LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_R.c
@@
-22,6
+22,7
@@
uint8_t TEMPLATE_FUNC_NAME (void* Buffer,
while (Length && Endpoint_BytesInEndpoint())
{
TEMPLATE_TRANSFER_BYTE(DataStream);
+ TEMPLATE_BUFFER_MOVE(DataStream, 1);
Length--;
}
@@
-44,5
+45,6
@@
uint8_t TEMPLATE_FUNC_NAME (void* Buffer,
#undef TEMPLATE_BUFFER_OFFSET
+#undef TEMPLATE_BUFFER_MOVE
#undef TEMPLATE_FUNC_NAME
#undef TEMPLATE_TRANSFER_BYTE