invert abort condition for break timeout

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1587 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 16 years ago
parent 9da936eb61
commit d0aa877eb0

@ -1,3 +1,8 @@
2009-05-11 Arnim Laeuger <arniml>
* src/bus/ejtag_dma.c (ejtag_dma_bus_init): invert abort condition for break
timeout
2009-05-07 Arnim Laeuger <arniml>
* src/tap/cable/wiggler2.c: [ 2782581 ] TRST, TMS and TDI incorrectly marked

@ -423,7 +423,7 @@ int ejtag_dma_bus_init( bus_t *bus )
chain_shift_data_registers( CHAIN, 1 );
timeout--;
if (!timeout) break;
} while ( ejctrl->out->data[BrkSt] == 1 );
} while ( ejctrl->out->data[BrkSt] == 0 );
if (timeout == 0)
{

@ -1,3 +1,8 @@
2009-05-11 Arnim Laeuger <arniml>
* src/bus/ejtag_dma.c (ejtag_dma_bus_init): invert abort condition for break
timeout
2009-05-10 Arnim Laeuger <arniml>
* doc/UrJTAG.txt: hint for non-standard flash commands

@ -481,7 +481,7 @@ ejtag_dma_bus_init (urj_bus_t *bus)
if (!timeout)
break;
}
while (ejctrl->out->data[BrkSt] == 1);
while (ejctrl->out->data[BrkSt] == 0);
if (timeout == 0)
{

Loading…
Cancel
Save