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:
Dean Camera 2010-06-25 13:19:05 +00:00
parent 26afe5fe9e
commit 016a4c068a
3 changed files with 4 additions and 14 deletions

View file

@ -192,8 +192,6 @@ static void XPROGTarget_SetTxMode(void)
UCSR1B &= ~(1 << RXEN1);
UCSR1B |= (1 << TXEN1);
IsSending = true;
if (TimeoutMSRemaining)
TimeoutMSRemaining = COMMAND_TIMEOUT_MS;