mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user