forked from mfulz_github/qmk_firmware
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
|
@ -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…
Reference in New Issue