From 45e44118a8572e601e5b462246e02d3ba895928f Mon Sep 17 00:00:00 2001 From: duane Date: Sat, 27 Dec 2008 03:07:32 +0000 Subject: [PATCH] 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 --- src/jtag/ft2232.c | 2 +- src/jtag/jtag.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jtag/ft2232.c b/src/jtag/ft2232.c index 773a92e69..e7b2e8bec 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 48921ebc4..a2af3d89b 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); -- 2.11.4.GIT