From b7f4370c8e01d3e9f4c0eeedc3baeaf4ee227134 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 19 Feb 2012 01:30:53 +0000 Subject: 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. --- Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'Projects') 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; } -- cgit v1.2.3