Fix TeensyHID bootloader - change vendor page in the descriptors to match the undocum...
[pub/USBasp.git] / Projects / AVRISP / Lib / V2Protocol.c
index dfb04c6..4bd1162 100644 (file)
@@ -120,7 +120,7 @@ void V2Protocol_ProcessCommand(void)
  *\r
  *  \param[in] V2Command  Issued V2 Protocol command byte from the host\r
  */\r
  *\r
  *  \param[in] V2Command  Issued V2 Protocol command byte from the host\r
  */\r
-static void V2Protocol_UnknownCommand(uint8_t V2Command)\r
+static void V2Protocol_UnknownCommand(const uint8_t V2Command)\r
 {\r
        /* Discard all incoming data */\r
        while (Endpoint_BytesInEndpoint() == AVRISP_DATA_EPSIZE)\r
 {\r
        /* Discard all incoming data */\r
        while (Endpoint_BytesInEndpoint() == AVRISP_DATA_EPSIZE)\r
@@ -169,7 +169,7 @@ static void V2Protocol_ResetProtection(void)
  *\r
  *  \param[in] V2Command  Issued V2 Protocol command byte from the host\r
  */\r
  *\r
  *  \param[in] V2Command  Issued V2 Protocol command byte from the host\r
  */\r
-static void V2Protocol_GetSetParam(uint8_t V2Command)\r
+static void V2Protocol_GetSetParam(const uint8_t V2Command)\r
 {\r
        uint8_t ParamID = Endpoint_Read_Byte();\r
        uint8_t ParamValue;\r
 {\r
        uint8_t ParamID = Endpoint_Read_Byte();\r
        uint8_t ParamValue;\r