Skip to content
Snippets Groups Projects
Commit b7f4370c authored by Dean Camera's avatar Dean Camera
Browse files

Oops - don't reset AVRISP-MKII timeout in XPROG mode, as this is synchronous...

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.
parent 2f036ae2
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment