diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-02-19 01:30:53 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-02-19 01:30:53 +0000 |
| commit | b2517ec84c8bdcebc18957d4fb6ececbc009b5d4 (patch) | |
| tree | b673325738b1a4f55a56d3fffff2a5c7cd2beed2 /Projects | |
| parent | d590700b90e9b8b8620d76a02680fe507646a86d (diff) | |
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.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2055 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects')
| -rw-r--r-- | Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c | 3 |
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 ede23628..b50ffbd1 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; } |
