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.
This commit is contained in:
parent
2f036ae2bf
commit
b7f4370c8e
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue