Add const qualifier to the parameters of Projects' functions where possible.
This commit is contained in:
parent
e73f05b8b2
commit
b408a5fe62
19 changed files with 73 additions and 70 deletions
|
@ -120,7 +120,7 @@ void V2Protocol_ProcessCommand(void)
|
|||
*
|
||||
* \param[in] V2Command Issued V2 Protocol command byte from the host
|
||||
*/
|
||||
static void V2Protocol_UnknownCommand(uint8_t V2Command)
|
||||
static void V2Protocol_UnknownCommand(const uint8_t V2Command)
|
||||
{
|
||||
/* Discard all incoming data */
|
||||
while (Endpoint_BytesInEndpoint() == AVRISP_DATA_EPSIZE)
|
||||
|
@ -169,7 +169,7 @@ static void V2Protocol_ResetProtection(void)
|
|||
*
|
||||
* \param[in] V2Command Issued V2 Protocol command byte from the host
|
||||
*/
|
||||
static void V2Protocol_GetSetParam(uint8_t V2Command)
|
||||
static void V2Protocol_GetSetParam(const uint8_t V2Command)
|
||||
{
|
||||
uint8_t ParamID = Endpoint_Read_Byte();
|
||||
uint8_t ParamValue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue