X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/8bb007f80b3e275c9857a5ffa2cf597711fb7478..c647c2763980b374da1c4314c752295d72228d4c:/Projects/AVRISP/AVRISP.c?ds=inline 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(); + } }