aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/AVRISP.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-11-09 12:22:33 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-11-09 12:22:33 +0000
commitc647c2763980b374da1c4314c752295d72228d4c (patch)
tree5f8048b90c04d276efb0270907d9a0a7aa55f4fd /Projects/AVRISP/AVRISP.c
parent8bb007f80b3e275c9857a5ffa2cf597711fb7478 (diff)
downloadlufa-c647c2763980b374da1c4314c752295d72228d4c.tar.gz
lufa-c647c2763980b374da1c4314c752295d72228d4c.tar.bz2
lufa-c647c2763980b374da1c4314c752295d72228d4c.zip
Minor changes to the AVRISP project for code clarity.
Diffstat (limited to 'Projects/AVRISP/AVRISP.c')
-rw-r--r--Projects/AVRISP/AVRISP.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Projects/AVRISP/AVRISP.c b/Projects/AVRISP/AVRISP.c
index 44b8356cd..4eb02d2bf 100644
--- a/Projects/AVRISP/AVRISP.c
+++ b/Projects/AVRISP/AVRISP.c
@@ -120,11 +120,11 @@ void Process_AVRISP_Commands(void)
Endpoint_SelectEndpoint(AVRISP_DATA_EPNUM);
- /* Check to see if a V2 Protocol command has been received - if not, abort */
- if (!(Endpoint_IsOUTReceived()))
- return;
-
- /* Pass off processing of the V2 Protocol command to the V2 Protocol handler */
- V2Protocol_ProcessCommand();
+ /* 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 */
+ V2Protocol_ProcessCommand();
+ }
}