summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jtag/jlink.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c
index d8bfb0f3..1ec73b2d 100644
--- a/src/jtag/jlink.c
+++ b/src/jtag/jlink.c
@@ -499,12 +499,10 @@ static void jlink_reset(int trst, int srst)
{
jlink_simple_command(EMU_CMD_HW_TRST0);
}
+
if (trst == 0)
{
jlink_simple_command(EMU_CMD_HW_TRST1);
- jtag_sleep(5000);
- jlink_end_state(TAP_RESET);
- jlink_state_move();
}
}