ftdi: Fixed wrong direction report in DEBUG.

This commit is contained in:
Uwe Bonnes 2021-09-15 18:48:30 +02:00 committed by UweBonnes
parent 9de69bb3ab
commit a93e57e112
1 changed files with 2 additions and 2 deletions

View File

@ -552,8 +552,8 @@ void libftdi_jtagtap_tdi_tdo_seq(
if(!ticks) return;
if (!DI && !DO) return;
DEBUG_WIRE("libftdi_jtagtap_tdi_tdo_seq %s ticks: %d\n",
(DI && DO) ? "read/write" : ((DI) ? "read" : "write"),ticks);
DEBUG_WIRE("libftdi_jtagtap_tdi_tdo_seq %s ticks: %d\n",
(DI && DO) ? "read/write" : ((DI) ? "write" : "read"), ticks);
if(final_tms) ticks--;
rticks = ticks & 7;
ticks >>= 3;