X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ecd82778cf9a53e34f13d9ce6dcd7e1a4cf76b70..bbcdaaa6dc6024911a280e5fda6b4a43f71fb98e:/Projects/AVRISP/AVRISP.c diff --git a/Projects/AVRISP/AVRISP.c b/Projects/AVRISP/AVRISP.c index 9c21af2cb..0491102b4 100644 --- a/Projects/AVRISP/AVRISP.c +++ b/Projects/AVRISP/AVRISP.c @@ -43,7 +43,7 @@ int main(void) { SetupHardware(); - printf("AVRISP-MKII\r\n"); + printf("AVRISP-MKII Clone\r\n"); LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY); @@ -113,14 +113,9 @@ void Process_AVRISP_Commands(void) /* Check to see if a V2 Protocol command has been received - if not, abort */ if (!(Endpoint_IsOUTReceived())) - return; - - printf("COMMAND\r\n"); + return; /* Pass off processing of the V2 Protocol command to the V2 Protocol handler */ - V2Protocol_ProcessCommand(); - - /* Reset Endpoint direction to OUT ready for next command */ - Endpoint_SetEndpointDirection(ENDPOINT_DIR_OUT); + V2Protocol_ProcessCommand(); }