X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/55db57e1ede3c44a3b027cb442fa12e969b37f4b..fc8e4837a936bb1b4bd19bdd54660878b3efe02c:/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c?ds=inline 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;