aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-18 12:10:30 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-18 12:10:30 +0000
commitfc8e4837a936bb1b4bd19bdd54660878b3efe02c (patch)
treebc0cdb4c4a2e151f0aac4eb92a63f8d229bb82ff /Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
parent55db57e1ede3c44a3b027cb442fa12e969b37f4b (diff)
downloadlufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.tar.gz
lufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.tar.bz2
lufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.zip
Add const keyword to the demo function parameters where possible.
Diffstat (limited to 'Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c')
-rw-r--r--Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c b/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
index 62f3659a6..d9fc68a77 100644
--- a/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
+++ b/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
@@ -198,7 +198,7 @@ uint8_t SImage_ReceiveBlockHeader(void)
*
* \return A value from the Pipe_Stream_RW_ErrorCodes_t enum
*/
-uint8_t SImage_SendData(void* Buffer, uint16_t Bytes)
+uint8_t SImage_SendData(void* const Buffer, const uint16_t Bytes)
{
uint8_t ErrorCode;
@@ -225,7 +225,7 @@ uint8_t SImage_SendData(void* Buffer, uint16_t Bytes)
*
* \return A value from the Pipe_Stream_RW_ErrorCodes_t enum
*/
-uint8_t SImage_ReadData(void* Buffer, uint16_t Bytes)
+uint8_t SImage_ReadData(void* const Buffer, const uint16_t Bytes)
{
uint8_t ErrorCode;