projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update CDC Class Driver character stream functions to use the correct avr-libc return...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
Template
/
Template_Endpoint_Control_R.c
diff --git
a/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_R.c
b/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_R.c
index
a2a0c3b
..
e64f0ed
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_R.c
+++ b/
LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_R.c
@@
-1,6
+1,6
@@
uint8_t TEMPLATE_FUNC_NAME (void* Buffer, uint16_t Length)
\r
{
\r
- uint8_t* DataStream = (
uint8_t*)(
Buffer + TEMPLATE_BUFFER_OFFSET(Length));
\r
+ uint8_t* DataStream = (
(uint8_t*)
Buffer + TEMPLATE_BUFFER_OFFSET(Length));
\r
\r
while (Length)
\r
{
\r