urj_tap_cable_wait: fix off-by-one logic in a previous commit pointed out by Jie Zhang

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1940 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 14 years ago
parent 007750ad5f
commit 3eca37f1e6

@ -9,6 +9,9 @@
* src/bfin/bfin.c (chain_system_reset): Rewrite to work around known anomalies
with software reset and Blackfin cores.
* src/tap/chain.c (urj_tap_cable_wait): Fix off-by-one error in previous wait
logic tweaking.
2011-06-29 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable.c (urj_tap_cable_wait): Tweak code style to silence warnings

@ -528,7 +528,7 @@ urj_tap_cable_wait (urj_cable_t *cable)
j = i;
/* Avoid gcc set-but-unused warnings */
cable->delay = j;
cable->delay = j + 1;
}
static urj_cable_t *

Loading…
Cancel
Save