Reduced guard bit time in the AVRISP project PDI/TPI protocols to reduce the time needed to reverse the data communication direction.

This commit is contained in:
Dean Camera 2009-12-29 14:54:52 +00:00
parent b1dbd92c32
commit f5951d1593
3 changed files with 10 additions and 5 deletions

View file

@ -420,7 +420,7 @@ static void XPROGTarget_SetRxMode(void)
}
/* Wait until DATA line has been pulled up to idle by the target */
while (!(BITBANG_PDIDATA_PIN & BITBANG_PDIDATA_MASK));
while (!(BITBANG_PDIDATA_PIN & BITBANG_PDIDATA_MASK) && TimeoutMSRemaining);
#endif
IsSending = false;