summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-27 03:07:32 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-27 03:07:32 +0000
commit45e44118a8572e601e5b462246e02d3ba895928f (patch)
treefac78f0d5979cfcb7450b53931ed5d3f4702bfe4
parent21eff7095c50bcdc74000e6cda0c76aa3d16b854 (diff)
downloadopenocd+libswd-45e44118a8572e601e5b462246e02d3ba895928f.tar.gz
openocd+libswd-45e44118a8572e601e5b462246e02d3ba895928f.tar.bz2
openocd+libswd-45e44118a8572e601e5b462246e02d3ba895928f.tar.xz
openocd+libswd-45e44118a8572e601e5b462246e02d3ba895928f.zip
Quoteify the FT2232 description list, and a missed fix from Dirk Behme about jtag tapisenabled
git-svn-id: svn://svn.berlios.de/openocd/trunk@1281 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-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);