aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/AVRISP.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-08-18 07:22:51 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-08-18 07:22:51 +0000
commitbbcdaaa6dc6024911a280e5fda6b4a43f71fb98e (patch)
treef027bd34b7fee6e5de5badd68de2b7b42ffcef9e /Projects/AVRISP/AVRISP.c
parentecd82778cf9a53e34f13d9ce6dcd7e1a4cf76b70 (diff)
downloadlufa-bbcdaaa6dc6024911a280e5fda6b4a43f71fb98e.tar.gz
lufa-bbcdaaa6dc6024911a280e5fda6b4a43f71fb98e.tar.bz2
lufa-bbcdaaa6dc6024911a280e5fda6b4a43f71fb98e.zip
Enhancements to the AVRISP Programmer project to attempt to get AVRStudio to communicate with the device.
Diffstat (limited to 'Projects/AVRISP/AVRISP.c')
-rw-r--r--Projects/AVRISP/AVRISP.c11
1 files changed, 3 insertions, 8 deletions
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();
}