diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-09 12:22:33 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-09 12:22:33 +0000 |
commit | c647c2763980b374da1c4314c752295d72228d4c (patch) | |
tree | 5f8048b90c04d276efb0270907d9a0a7aa55f4fd /Projects/AVRISP/AVRISP.c | |
parent | 8bb007f80b3e275c9857a5ffa2cf597711fb7478 (diff) | |
download | lufa-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.c | 12 |
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();
+ }
} |