From: michael Date: Sun, 29 Apr 2007 17:51:28 +0000 (+0000) Subject: only read pins when needed, now it's a bit faster than a parallel cable X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/commitdiff_plain/a270f1e37a49ae072740de471bfe98658dea3b5e only read pins when needed, now it's a bit faster than a parallel cable --- diff --git a/jtagkey.c b/jtagkey.c index c12e235..bf1cded 100644 --- a/jtagkey.c +++ b/jtagkey.c @@ -209,7 +209,9 @@ int jtagkey_transfer(WD_TRANSFER *tr, int fd, unsigned int request, int ppbase, DPRINTF("writing %d bytes\n", writepos-writebuf); for (i=0; i 0 && tr[i].cmdTrans == PP_WRITE && tr[i-1].cmdTrans == PP_READ) + ftdi_read_pins(&ftdic, readbuf+i); } #ifdef DEBUG