aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-10-18 05:35:48 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-10-18 05:35:48 +0000
commitde70f0f1cf034d8f22141a2825f24ad60d14421b (patch)
treeb980328a8351c30605be7794e2e20355c1494ad5 /LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c
parentc3dfc58707eafb6ed0efab5a50770294f5a6b3d3 (diff)
downloadlufa-de70f0f1cf034d8f22141a2825f24ad60d14421b.tar.gz
lufa-de70f0f1cf034d8f22141a2825f24ad60d14421b.tar.bz2
lufa-de70f0f1cf034d8f22141a2825f24ad60d14421b.zip
Moved USBtoSerial demo the Projects directory, as it is simply an expanded CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c2
1 files changed, 1 insertions, 1 deletions
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 6c1445ee0..ce402ad84 100644
--- a/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c
+++ b/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c
@@ -1,4 +1,4 @@
-uint8_t TEMPLATE_FUNC_NAME (void* Buffer, uint16_t Length)
+uint8_t TEMPLATE_FUNC_NAME (const void* Buffer, uint16_t Length)
{
uint8_t* DataStream = (uint8_t*)(Buffer + TEMPLATE_BUFFER_OFFSET(Length));
bool LastPacketFull = false;