diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-13 21:27:24 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-13 21:27:24 +0000 |
commit | 0019fbd1294ccc9ecb0ac4ddb5d8c71efcf9597f (patch) | |
tree | ab85bdd239b9df645d4ef95e6518ca25661c2515 /LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c | |
parent | 272d446d3242f1d449447a91cdc1f7516ffe964f (diff) | |
download | lufa-0019fbd1294ccc9ecb0ac4ddb5d8c71efcf9597f.tar.gz lufa-0019fbd1294ccc9ecb0ac4ddb5d8c71efcf9597f.tar.bz2 lufa-0019fbd1294ccc9ecb0ac4ddb5d8c71efcf9597f.zip |
Add more const-ness to the stream endpoint/pipe functions where possible.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c')
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c b/LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c index 43724e805..bdbbcfc11 100644 --- a/LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c +++ b/LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_W.c @@ -1,4 +1,4 @@ -uint8_t TEMPLATE_FUNC_NAME (const void* Buffer, +uint8_t TEMPLATE_FUNC_NAME (const void* const Buffer, uint16_t Length) { uint8_t* DataStream = ((uint8_t*)Buffer + TEMPLATE_BUFFER_OFFSET(Length)); |