projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add const keyword to the demo function parameters where possible.
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
StillImageHost
/
Lib
/
StillImageCommands.c
diff --git
a/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
b/Demos/Host/LowLevel/StillImageHost/Lib/StillImageCommands.c
index
62f3659
..
d9fc68a
100644
(file)
--- 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)
*
\r
* \return A value from the Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
*
\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
{
\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
*
\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
{
\r
uint8_t ErrorCode;
\r
\r