aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/Lib/V2Protocol.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-20 06:23:24 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-20 06:23:24 +0000
commitb408a5fe62f5ac8be551f4998a6763465a21f053 (patch)
tree13f0bd95f033472c636e91c580fae79cbdebd438 /Projects/AVRISP/Lib/V2Protocol.c
parente73f05b8b2de5485c97a305b4a7e940bb5636f49 (diff)
downloadlufa-b408a5fe62f5ac8be551f4998a6763465a21f053.tar.gz
lufa-b408a5fe62f5ac8be551f4998a6763465a21f053.tar.bz2
lufa-b408a5fe62f5ac8be551f4998a6763465a21f053.zip
Add const qualifier to the parameters of Projects' functions where possible.
Diffstat (limited to 'Projects/AVRISP/Lib/V2Protocol.c')
-rw-r--r--Projects/AVRISP/Lib/V2Protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/AVRISP/Lib/V2Protocol.c b/Projects/AVRISP/Lib/V2Protocol.c
index dfb04c674..4bd1162a3 100644
--- a/Projects/AVRISP/Lib/V2Protocol.c
+++ b/Projects/AVRISP/Lib/V2Protocol.c
@@ -120,7 +120,7 @@ void V2Protocol_ProcessCommand(void)
*
* \param[in] V2Command Issued V2 Protocol command byte from the host
*/
-static void V2Protocol_UnknownCommand(uint8_t V2Command)
+static void V2Protocol_UnknownCommand(const uint8_t V2Command)
{
/* Discard all incoming data */
while (Endpoint_BytesInEndpoint() == AVRISP_DATA_EPSIZE)
@@ -169,7 +169,7 @@ static void V2Protocol_ResetProtection(void)
*
* \param[in] V2Command Issued V2 Protocol command byte from the host
*/
-static void V2Protocol_GetSetParam(uint8_t V2Command)
+static void V2Protocol_GetSetParam(const uint8_t V2Command)
{
uint8_t ParamID = Endpoint_Read_Byte();
uint8_t ParamValue;