From: duane Date: Sat, 27 Dec 2008 03:07:32 +0000 (+0000) Subject: Quoteify the FT2232 description list, and a missed fix from Dirk Behme about jtag... X-Git-Tag: v0.1.0~64 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=45e44118a8572e601e5b462246e02d3ba895928f;p=openocd 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 --- 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);