X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fcore.c;h=8c79eb2302c3b643f3750a400270c0a3bbaea6ad;hb=06aebfacda1f60052f6ea0f3d09936184e1bfab8;hp=fd4370f4427438097d1ac6cee219991707d70e83;hpb=1919dbbfd23c699ecdc23d29ee3a79b2dc773571;p=openocd.git diff --git a/src/jtag/core.c b/src/jtag/core.c index fd4370f442..8c79eb2302 100644 --- a/src/jtag/core.c +++ b/src/jtag/core.c @@ -23,9 +23,7 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ #ifdef HAVE_CONFIG_H @@ -1719,11 +1717,11 @@ void jtag_set_reset_config(enum reset_types type) int jtag_get_trst(void) { - return jtag_trst; + return jtag_trst == 1; } int jtag_get_srst(void) { - return jtag_srst; + return jtag_srst == 1; } void jtag_set_nsrst_delay(unsigned delay)