From 632df9e5cbf27f8c5f5d2633918af53c6b80d970 Mon Sep 17 00:00:00 2001 From: Marc Schink Date: Wed, 17 Jul 2024 15:11:46 +0200 Subject: [PATCH] jtag: Use bool data type for 'jtag_verify' Change-Id: Iae46e45c7523252eee44224e6b9b3b1484aaeb35 Signed-off-by: Marc Schink Reviewed-on: https://review.openocd.org/c/openocd/+/8401 Tested-by: jenkins Reviewed-by: Antonio Borneo --- src/jtag/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jtag/core.c b/src/jtag/core.c index c84d5aa3d..c8f20b73c 100644 --- a/src/jtag/core.c +++ b/src/jtag/core.c @@ -88,7 +88,7 @@ static enum reset_types jtag_reset_config = RESET_NONE; tap_state_t cmd_queue_cur_state = TAP_RESET; static bool jtag_verify_capture_ir = true; -static int jtag_verify = 1; +static bool jtag_verify = true; /* how long the OpenOCD should wait before attempting JTAG communication after reset lines *deasserted (in ms) */