forked from mirror/qmk_firmware
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;
|
||||
|
||||
|
||||
@@ -108,8 +108,8 @@
|
||||
void SImage_SendBlockHeader(void);
|
||||
uint8_t SImage_ReceiveBlockHeader(void);
|
||||
uint8_t SImage_ReceiveEventHeader(void);
|
||||
uint8_t SImage_SendData(void* Buffer, uint16_t Bytes);
|
||||
uint8_t SImage_ReadData(void* Buffer, uint16_t Bytes);
|
||||
uint8_t SImage_SendData(void* const Buffer, const uint16_t Bytes);
|
||||
uint8_t SImage_ReadData(void* const Buffer, const uint16_t Bytes);
|
||||
bool SImage_IsEventReceived(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user