Oops - don't reset AVRISP-MKII timeout in XPROG mode, as this is synchronous serial...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 19 Feb 2012 01:30:53 +0000 (01:30 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 19 Feb 2012 01:30:53 +0000 (01:30 +0000)
Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c

index ede2362..b50ffbd 100644 (file)
@@ -155,9 +155,6 @@ uint8_t XPROGTarget_ReceiveByte(void)
        /* Wait until a byte has been received before reading */
        while (!(UCSR1A & (1 << RXC1)) && !(TimeoutExpired));
 
        /* Wait until a byte has been received before reading */
        while (!(UCSR1A & (1 << RXC1)) && !(TimeoutExpired));
 
-       /* Byte of data received - reset the timeout */
-       wdt_reset();
-
        return UDR1;
 }
 
        return UDR1;
 }