aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-02-19 01:30:53 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-02-19 01:30:53 +0000
commitb7f4370c8e01d3e9f4c0eeedc3baeaf4ee227134 (patch)
treeb673325738b1a4f55a56d3fffff2a5c7cd2beed2 /Projects
parent2f036ae2bfddb37840c6041595eb994efad8954d (diff)
downloadlufa-b7f4370c8e01d3e9f4c0eeedc3baeaf4ee227134.tar.gz
lufa-b7f4370c8e01d3e9f4c0eeedc3baeaf4ee227134.tar.bz2
lufa-b7f4370c8e01d3e9f4c0eeedc3baeaf4ee227134.zip
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.
Diffstat (limited to 'Projects')
-rw-r--r--Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c3
1 files changed, 0 insertions, 3 deletions
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;
}