forked from mirror/qmk_firmware
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user