Add const keyword to the demo function parameters where possible.

This commit is contained in:
Dean Camera
2010-04-18 12:10:30 +00:00
parent 55db57e1ed
commit fc8e4837a9
47 changed files with 158 additions and 158 deletions
@@ -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;