]> git.sur5r.net Git - openocd/commitdiff
keep_alive() fix for reset warnings.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 18 Jul 2008 10:50:51 +0000 (10:50 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 18 Jul 2008 10:50:51 +0000 (10:50 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@827 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/jtag.c

index 3b1e8b0a2c90b47164e99ce18f238efe1a506c82..02272bd93b2278512034d9c8cc981bc317729310 100644 (file)
@@ -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;