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 committed 2010-06-25 13:19:05 +00:00
1 parent 26afe5fe9e
commit 016a4c068a
3 files changed
+4 -14

No files matched your search

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