From d6edfe35c8a9490407e4a5e34f8e5108c6a260a3 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 9 Nov 2009 13:15:28 +0000 Subject: Spell check all source code variables, comments and strings. --- Projects/AVRISP/Lib/V2Protocol.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Projects/AVRISP/Lib/V2Protocol.c') diff --git a/Projects/AVRISP/Lib/V2Protocol.c b/Projects/AVRISP/Lib/V2Protocol.c index d7343aad6..d03bd8924 100644 --- a/Projects/AVRISP/Lib/V2Protocol.c +++ b/Projects/AVRISP/Lib/V2Protocol.c @@ -36,12 +36,12 @@ #define INCLUDE_FROM_V2PROTOCOL_C #include "V2Protocol.h" -/** Master V2 Protocol packet handler, for receieved V2 Protocol packets from a connected host. +/** Master V2 Protocol packet handler, for received V2 Protocol packets from a connected host. * This routine decodes the issued command and passes off the handling of the command to the * appropriate function. */ -void V2Protocol_ProcessCommand(void) -{ +void V2Protocol_ProcessCommand(void) +{ uint8_t V2Command = Endpoint_Read_Byte(); switch (V2Command) @@ -95,8 +95,8 @@ void V2Protocol_ProcessCommand(void) } Endpoint_WaitUntilReady(); - Endpoint_SetEndpointDirection(ENDPOINT_DIR_OUT); -} + Endpoint_SetEndpointDirection(ENDPOINT_DIR_OUT); +} /** Handler for unknown V2 protocol commands. This discards all sent data and returns a * STATUS_CMD_UNKNOWN status back to the host. @@ -105,7 +105,7 @@ void V2Protocol_ProcessCommand(void) */ static void V2Protocol_Command_Unknown(uint8_t V2Command) { - /* Discard all incomming data */ + /* Discard all incoming data */ while (Endpoint_BytesInEndpoint() == AVRISP_DATA_EPSIZE) { Endpoint_ClearOUT(); @@ -120,7 +120,7 @@ static void V2Protocol_Command_Unknown(uint8_t V2Command) Endpoint_ClearIN(); } -/** Handler for the CMD_SIGN_ON command, returning the programmer ID string to the host. */ +/** Handler for the CMD_SIGN_ON command, returning the programmer ID string to the host. */ static void V2Protocol_Command_SignOn(void) { Endpoint_ClearOUT(); @@ -151,7 +151,7 @@ static void V2Protocol_Command_GetSetParam(uint8_t V2Command) Endpoint_Write_Byte(V2Command); - uint8_t ParamPrivs = V2Params_GetParameterPrivellages(ParamID); + uint8_t ParamPrivs = V2Params_GetParameterPrivileges(ParamID); if ((V2Command == CMD_SET_PARAMETER) && (ParamPrivs & PARAM_PRIV_WRITE)) { -- cgit v1.2.3