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
|
@ -70,12 +70,12 @@
|
|||
void V2Params_LoadNonVolatileParamValues(void);
|
||||
void V2Params_UpdateParamValues(void);
|
||||
|
||||
uint8_t V2Params_GetParameterPrivileges(uint8_t ParamID);
|
||||
uint8_t V2Params_GetParameterValue(uint8_t ParamID);
|
||||
void V2Params_SetParameterValue(uint8_t ParamID, uint8_t Value);
|
||||
uint8_t V2Params_GetParameterPrivileges(const uint8_t ParamID);
|
||||
uint8_t V2Params_GetParameterValue(const uint8_t ParamID);
|
||||
void V2Params_SetParameterValue(const uint8_t ParamID, const uint8_t Value);
|
||||
|
||||
#if defined(INCLUDE_FROM_V2PROTOCOL_PARAMS_C)
|
||||
static ParameterItem_t* V2Params_GetParamFromTable(uint8_t ParamID);
|
||||
static ParameterItem_t* V2Params_GetParamFromTable(const uint8_t ParamID);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue