jtag_add_end_state() now returns the value of the global variable and does not modify...
commitbb1a1ddb541808ef404473a22721231cdfe96929
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 4 Jun 2009 07:05:22 +0000 (4 07:05 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 4 Jun 2009 07:05:22 +0000 (4 07:05 +0000)
tree9b33e8c2505b7ca6cec4e53386ba612e3f1d70ab
parent9ab49135c639e6ed5e3997356b54c6cf79d04985
jtag_add_end_state() now returns the value of the global variable and does not modify the global variable if passed TAP_INVALID. This patch has no effect on the current code and is just to prepare upcoming patches.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2041 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/jtag/jtag.c
src/jtag/jtag.h