diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2006-08-06 12:14:02 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2006-08-06 12:14:02 +0000 |
commit | ca1e5ee1f4236e2e384397bf6211ce56a1f687f5 (patch) | |
tree | f5de5af833e35e9df4950d6d6c0c7e1709e28531 /src | |
parent | fbf5bec7f3ea9f4a9584099a12e71681cb55ce35 (diff) | |
download | openocd_libswd-ca1e5ee1f4236e2e384397bf6211ce56a1f687f5.tar.gz openocd_libswd-ca1e5ee1f4236e2e384397bf6211ce56a1f687f5.tar.bz2 openocd_libswd-ca1e5ee1f4236e2e384397bf6211ce56a1f687f5.tar.xz openocd_libswd-ca1e5ee1f4236e2e384397bf6211ce56a1f687f5.zip |
- fixed jtag_n[st]rst_delay. time is now miliseconds (as documented), not microseconds
git-svn-id: svn://svn.berlios.de/openocd/trunk@82 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/jtag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 7c6c911a..0ffeb56e 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -843,7 +843,7 @@ int jtag_add_reset(int req_trst, int req_srst) { jtag_call_event_callbacks(JTAG_SRST_RELEASED); if (jtag_nsrst_delay) - jtag_add_sleep(jtag_nsrst_delay); + jtag_add_sleep(jtag_nsrst_delay * 1000); } if (trst_with_tms) @@ -881,7 +881,7 @@ int jtag_add_reset(int req_trst, int req_srst) * but we might want to add a delay to give the TAP time to settle */ if (jtag_ntrst_delay) - jtag_add_sleep(jtag_ntrst_delay); + jtag_add_sleep(jtag_ntrst_delay * 1000); } } |