Output correct tap status by 'jtag tapisenabled' command.

Correct 'jtag tapisenabled' command to output correct recent tap status.

Signed-off-by: Dirk Behme <[email protected]>

---
 src/jtag/jtag.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: trunk/src/jtag/jtag.c
===================================================================
--- trunk.orig/src/jtag/jtag.c
+++ trunk/src/jtag/jtag.c
@@ -2064,7 +2064,7 @@ static int jim_jtag_command( Jim_Interp 
                        }
                        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);
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to