Add const keyword to the demo function parameters where possible.
[pub/USBasp.git] / Demos / Host / LowLevel / StillImageHost / Lib / StillImageCommands.c
index 62f3659..d9fc68a 100644 (file)
@@ -198,7 +198,7 @@ uint8_t SImage_ReceiveBlockHeader(void)
  *\r
  *  \return A value from the Pipe_Stream_RW_ErrorCodes_t enum\r
  */\r
-uint8_t SImage_SendData(void* Buffer, uint16_t Bytes)\r
+uint8_t SImage_SendData(void* const Buffer, const uint16_t Bytes)\r
 {\r
        uint8_t ErrorCode;\r
 \r
@@ -225,7 +225,7 @@ uint8_t SImage_SendData(void* Buffer, uint16_t Bytes)
  *\r
  *  \return A value from the Pipe_Stream_RW_ErrorCodes_t enum\r
  */\r
-uint8_t SImage_ReadData(void* Buffer, uint16_t Bytes)\r
+uint8_t SImage_ReadData(void* const Buffer, const uint16_t Bytes)\r
 {\r
        uint8_t ErrorCode;\r
 \r