Merge pull request #296 from gsmcmullin/libftdi_tdi_tdo_fix
libftdi: Fix tdi_tdo_seq result unpacking
This commit is contained in:
commit
72c86f939e
|
@ -173,6 +173,8 @@ jtagtap_tdi_tdo_seq(uint8_t *DO, const uint8_t final_tms, const uint8_t *DI, int
|
||||||
/*if(rsize) printf("%02X ", tmp[index]);*/
|
/*if(rsize) printf("%02X ", tmp[index]);*/
|
||||||
*DO++ = tmp[index++];
|
*DO++ = tmp[index++];
|
||||||
}
|
}
|
||||||
|
if (rticks == 0)
|
||||||
|
*DO++ = 0;
|
||||||
if(final_tms) {
|
if(final_tms) {
|
||||||
rticks++;
|
rticks++;
|
||||||
*(--DO) >>= 1;
|
*(--DO) >>= 1;
|
||||||
|
|
Loading…
Reference in New Issue