]> git.sur5r.net Git - openocd/blobdiff - src/jtag/dummy.c
Simplify and improve parport_handle_parport_port_command:
[openocd] / src / jtag / dummy.c
index 9d4a436b597dfc8da0e04e2c5af9ece950c92706..2ad8c10fabce53c20aa4b43325aff64b65cf8c30 100644 (file)
@@ -123,7 +123,7 @@ static void dummy_reset(int trst, int srst)
 {
        dummy_clock = 0;
 
-       if (trst || (srst && (jtag_reset_config & RESET_SRST_PULLS_TRST)))
+       if (trst || (srst && (jtag_get_reset_config() & RESET_SRST_PULLS_TRST)))
                dummy_state = TAP_RESET;
 
        LOG_DEBUG("reset to: %s", tap_state_name(dummy_state) );