summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-18 10:50:51 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-18 10:50:51 +0000
commit0470a9652b6275981ec132cb74a4af942b12a6ac (patch)
treec27906ceeaf634c23d1ca0abcdc2d6a8839ed37a /src
parent94e75e0c06c4d683b33a03aee17b80c8a59bbd47 (diff)
downloadopenocd_libswd-0470a9652b6275981ec132cb74a4af942b12a6ac.tar.gz
openocd_libswd-0470a9652b6275981ec132cb74a4af942b12a6ac.tar.bz2
openocd_libswd-0470a9652b6275981ec132cb74a4af942b12a6ac.tar.xz
openocd_libswd-0470a9652b6275981ec132cb74a4af942b12a6ac.zip
keep_alive() fix for reset warnings.
git-svn-id: svn://svn.berlios.de/openocd/trunk@827 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/jtag/jtag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index 3b1e8b0a..02272bd9 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -1071,6 +1071,7 @@ int MINIDRIVER(interface_jtag_add_sleep)(u32 us)
void jtag_add_sleep(u32 us)
{
+ keep_alive(); /* we might be running on a very slow JTAG clk */
int retval=interface_jtag_add_sleep(us);
if (retval!=ERROR_OK)
jtag_error=retval;