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_R.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_R.c')
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_R.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 cd11705c2..e746b5124 100644 --- a/LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_R.c +++ b/LUFA/Drivers/USB/HighLevel/Template/Template_Endpoint_Control_R.c @@ -1,4 +1,4 @@ -uint8_t TEMPLATE_FUNC_NAME (void* Buffer, +uint8_t TEMPLATE_FUNC_NAME (void* const Buffer, uint16_t Length) { uint8_t* DataStream = ((uint8_t*)Buffer + TEMPLATE_BUFFER_OFFSET(Length)); |