diff options
Diffstat (limited to 'Demos/Host/LowLevel/StillImageHost')
-rw-r--r-- | Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c | 4 | ||||
-rw-r--r-- | Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h | 4 |
2 files changed, 4 insertions, 4 deletions
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;
diff --git a/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h b/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h index b6dfbaa25..c6d7f033a 100644 --- a/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h +++ b/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.h @@ -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
|