]> git.sur5r.net Git - openocd/commitdiff
Quoteify the FT2232 description list, and a missed fix from Dirk Behme about jtag...
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 27 Dec 2008 03:07:32 +0000 (03:07 +0000)
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 27 Dec 2008 03:07:32 +0000 (03:07 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1281 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/ft2232.c
src/jtag/jtag.c

index 773a92e6942196963f48bca5535154aad9675990..e7b2e8becdf08e16e364d1c6e527a4d7d7c0c597 100644 (file)
@@ -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++)
index 48921ebc4c67f8830925da7fad1931c8e5a3d0c0..a2af3d89b78919984bb229d620c348c47551903e 100644 (file)
@@ -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);