ft2232: fix input scan ending in drshift/irshift 49/1049/2
authorYann Vernier <yann.vernier@orsoc.se>
Tue, 11 Dec 2012 11:52:24 +0000 (12:52 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 11 Apr 2013 16:14:18 +0000 (16:14 +0000)
commit441914978d1b0debc2c40ef5a660165d53baad27
tree50bd67ec16487fb0a25b93104f954c7c0e820a6d
parent50c93152123feec0f0a063ffb18cd7d91069c115
ft2232: fix input scan ending in drshift/irshift

The final bit was incorrectly added as output data, even if no data was
to be written. Changed it to match handling of other bits.

Change-Id: I91e5ba0c932876bfb579c22e6c7ef0300baa1534
Signed-off-by: Yann Vernier <yann.vernier@orsoc.se>
Reviewed-on: http://openocd.zylin.com/1049
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/ft2232.c