aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/AVRISP.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-11-09 13:15:28 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-11-09 13:15:28 +0000
commitd6edfe35c8a9490407e4a5e34f8e5108c6a260a3 (patch)
tree50a869497c7eab5d031af4a74ab3192dac5c9d5b /Projects/AVRISP/AVRISP.c
parentc647c2763980b374da1c4314c752295d72228d4c (diff)
downloadlufa-d6edfe35c8a9490407e4a5e34f8e5108c6a260a3.tar.gz
lufa-d6edfe35c8a9490407e4a5e34f8e5108c6a260a3.tar.bz2
lufa-d6edfe35c8a9490407e4a5e34f8e5108c6a260a3.zip
Spell check all source code variables, comments and strings.
Diffstat (limited to 'Projects/AVRISP/AVRISP.c')
-rw-r--r--Projects/AVRISP/AVRISP.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/Projects/AVRISP/AVRISP.c b/Projects/AVRISP/AVRISP.c
index 4eb02d2bf..203fced45 100644
--- a/Projects/AVRISP/AVRISP.c
+++ b/Projects/AVRISP/AVRISP.c
@@ -48,7 +48,7 @@ int main(void)
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
for (;;)
- {
+ {
Process_AVRISP_Commands();
V2Params_UpdateParamValues();
@@ -111,20 +111,20 @@ void EVENT_USB_Device_ConfigurationChanged(void)
}
}
-/** Processes incomming V2 Protocol commands from the host, returning a response when required. */
-void Process_AVRISP_Commands(void)
-{
+/** Processes incoming V2 Protocol commands from the host, returning a response when required. */
+void Process_AVRISP_Commands(void)
+{
/* Device must be connected and configured for the task to run */
if (USB_DeviceState != DEVICE_STATE_Configured)
- return;
-
+ return;
+
Endpoint_SelectEndpoint(AVRISP_DATA_EPNUM);
-
- /* Check to see if a V2 Protocol command has been received */
+
+ /* Check to see if a V2 Protocol command has been received */
if (Endpoint_IsOUTReceived())
- {
- /* Pass off processing of the V2 Protocol command to the V2 Protocol handler */
+ {
+ /* Pass off processing of the V2 Protocol command to the V2 Protocol handler */
V2Protocol_ProcessCommand();
}
-}
-
+}
+