]> git.sur5r.net Git - openocd/commit
fix tapenabler return code
authorRodrigo L. Rosa <rodrigorosa.LG@gmail.com>
Tue, 9 Aug 2011 18:25:23 +0000 (11:25 -0700)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 9 Aug 2011 18:59:40 +0000 (20:59 +0200)
commit194e3c5bc5e0fbb7d41cfcbe913c4264782cdd5b
treebb06e56550d5101038340095914202fc08769866
parentd1a16ce9d61cbcf3a56cb578da62370632aa923a
fix tapenabler return code

if tap enable/disable failed then a warning was written to the log, but JIM_OK was returned. if using openocd via a TCP interface to the TCL port, there is no way to catch that the command failed (it didn't enable the tap, so it failed)
now it return an error if it fails.
src/jtag/tcl.c