X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d6edfe35c8a9490407e4a5e34f8e5108c6a260a3..3b3ea167f01d24cddc2b59453a000969a42d2234:/Projects/AVRISP/Lib/V2ProtocolParams.c diff --git a/Projects/AVRISP/Lib/V2ProtocolParams.c b/Projects/AVRISP/Lib/V2ProtocolParams.c index 62149b4c3..91cccf48b 100644 --- a/Projects/AVRISP/Lib/V2ProtocolParams.c +++ b/Projects/AVRISP/Lib/V2ProtocolParams.c @@ -67,7 +67,7 @@ static ParameterItem_t ParameterTable[] = .ParamPrivileges = PARAM_PRIV_READ }, { .ParamID = PARAM_SCK_DURATION, - .ParamValue = (TOTAL_PROGRAMMING_SPEEDS - 1), + .ParamValue = (TOTAL_ISP_PROGRAMMING_SPEEDS - 1), .ParamPrivileges = PARAM_PRIV_READ | PARAM_PRIV_WRITE }, { .ParamID = PARAM_RESET_POLARITY, @@ -88,8 +88,7 @@ static ParameterItem_t ParameterTable[] = void V2Params_LoadNonVolatileParamValues(void) { /* Target RESET line polarity is a non-volatile value, retrieve current parameter value from EEPROM - - * NB: Cannot call V2Protocol_SetParameterValue() here, as that will cause another EEPROM write! - */ + * NB: Cannot call V2Protocol_SetParameterValue() here, as that will cause another EEPROM write! */ V2Params_GetParamFromTable(PARAM_RESET_POLARITY)->ParamValue = eeprom_read_byte(&EEPROM_Rest_Polarity); } @@ -141,7 +140,7 @@ uint8_t V2Params_GetParameterValue(uint8_t ParamID) /** Sets the value for a given parameter in the parameter table. * * \param[in] ParamID Parameter ID whose value is to be set in the table - * \param[in] Value New value to set the parameter to + * \param[in] Value New value to set the parameter to * * \return Pointer to the associated parameter information from the parameter table if found, NULL otherwise */