Minor changes to the AVRISP project for code clarity.

This commit is contained in:
Dean Camera 2009-11-09 12:22:33 +00:00
parent 8bb007f80b
commit c647c27639
4 changed files with 14 additions and 17 deletions

View file

@ -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();
}
}