summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jtag/ft2232.c2
-rw-r--r--src/jtag/jtag.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/ft2232.c b/src/jtag/ft2232.c
index 773a92e6..e7b2e8be 100644
--- a/src/jtag/ft2232.c
+++ b/src/jtag/ft2232.c
@@ -1469,7 +1469,7 @@ static int ft2232_init_ftd2xx(u16 vid, u16 pid, int more, int *try_more)
{
LOG_ERROR("ListDevices: %lu\n", num_devices);
for (i = 0; i < num_devices; i++)
- LOG_ERROR("%i: %s", i, desc_array[i]);
+ LOG_ERROR("%i: \"%s\"", i, desc_array[i]);
}
for (i = 0; i < num_devices; i++)
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index 48921ebc..a2af3d89 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -2071,7 +2071,7 @@ static int jim_jtag_command( Jim_Interp *interp, int argc, Jim_Obj *const *argv
}
switch( n->value ){
case JTAG_CMD_TAPISENABLED:
- // below
+ e = t->enabled;
break;
case JTAG_CMD_TAPENABLE:
jtag_tap_handle_event( t, JTAG_TAP_EVENT_ENABLE);