Add const keyword to the demo function parameters where possible.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user