/* Sets the value for a given parameter in the parameter table. */
void V2Params_SetParameterValue(const uint8_t ParamID, const uint8_t Value)
/* Sets the value for a given parameter in the parameter table. */
void V2Params_SetParameterValue(const uint8_t ParamID, const uint8_t Value)
{
	ParameterItem_t* const ParamInfo = V2Params_GetParamFromTable(ParamID);
	if (ParamInfo == NULL)
	  return;
	ParamInfo->ParamValue = Value;
	if (ParamID == PARAM_RESET_POLARITY)
	  eeprom_update_byte(&EEPROM_Reset_Polarity, Value);
	if (ParamID == PARAM_SCK_DURATION)
	  eeprom_update_byte(&EEPROM_SCK_Duration, Value);
}