Make loops in AVRISP-MKII Clone project's XPROG protocol infinite rather than looping on the timeout value, as this is already checked inside the loop anyway.
This commit is contained in:
parent
26afe5fe9e
commit
016a4c068a
3 changed files with 4 additions and 14 deletions
|
@ -192,8 +192,6 @@ static void XPROGTarget_SetTxMode(void)
|
|||
|
||||
UCSR1B &= ~(1 << RXEN1);
|
||||
UCSR1B |= (1 << TXEN1);
|
||||
|
||||
IsSending = true;
|
||||
|
||||
if (TimeoutMSRemaining)
|
||||
TimeoutMSRemaining = COMMAND_TIMEOUT_MS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue