projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved USBtoSerial demo the Projects directory, as it is simply an expanded CDC demo...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
Template
/
Template_Endpoint_RW.c
diff --git
a/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_RW.c
b/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_RW.c
index
b753440
..
6e1f5b2
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_RW.c
+++ b/
LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_RW.c
@@
-1,4
+1,4
@@
-uint8_t TEMPLATE_FUNC_NAME (
void*
Buffer, uint16_t Length __CALLBACK_PARAM)
\r
+uint8_t TEMPLATE_FUNC_NAME (
TEMPLATE_BUFFER_TYPE
Buffer, uint16_t Length __CALLBACK_PARAM)
\r
{
\r
uint8_t* DataStream = (uint8_t*)(Buffer + TEMPLATE_BUFFER_OFFSET(Length));
\r
uint8_t ErrorCode;
\r
{
\r
uint8_t* DataStream = (uint8_t*)(Buffer + TEMPLATE_BUFFER_OFFSET(Length));
\r
uint8_t ErrorCode;
\r
@@
-71,6
+71,7
@@
uint8_t TEMPLATE_FUNC_NAME (void* Buffer, uint16_t Length __CALLBACK_PARAM)
}
\r
\r
#undef TEMPLATE_FUNC_NAME
\r
}
\r
\r
#undef TEMPLATE_FUNC_NAME
\r
+#undef TEMPLATE_BUFFER_TYPE
\r
#undef TEMPLATE_TRANSFER_BYTE
\r
#undef TEMPLATE_CLEAR_ENDPOINT
\r
#undef TEMPLATE_BUFFER_OFFSET
\ No newline at end of file
#undef TEMPLATE_TRANSFER_BYTE
\r
#undef TEMPLATE_CLEAR_ENDPOINT
\r
#undef TEMPLATE_BUFFER_OFFSET
\ No newline at end of file