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