mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-07 17:02:46 +00:00
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 */
|
/* Wait until a byte has been received before reading */
|
||||||
while (!(UCSR1A & (1 << RXC1)) && !(TimeoutExpired));
|
while (!(UCSR1A & (1 << RXC1)) && !(TimeoutExpired));
|
||||||
|
|
||||||
/* Byte of data received - reset the timeout */
|
|
||||||
wdt_reset();
|
|
||||||
|
|
||||||
return UDR1;
|
return UDR1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user