summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;