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:
parent
b1dbd92c32
commit
f5951d1593
3 changed files with 10 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue