From: Dean Camera Date: Sun, 19 Feb 2012 01:30:53 +0000 (+0000) Subject: Oops - don't reset AVRISP-MKII timeout in XPROG mode, as this is synchronous serial... X-Git-Tag: LUFA-120730~151 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/b7f4370c8e01d3e9f4c0eeedc3baeaf4ee227134 Oops - don't reset AVRISP-MKII timeout in XPROG mode, as this is synchronous serial and data is always received regardless of attached or non-attached target. --- diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c index ede236280..b50ffbd1b 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c @@ -155,9 +155,6 @@ uint8_t XPROGTarget_ReceiveByte(void) /* 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; }