]> git.sur5r.net Git - openocd/commitdiff
increase pause before reboot so web interface remains responsive when issuing a reboo...
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 7 Oct 2009 11:03:56 +0000 (11:03 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 7 Oct 2009 11:03:56 +0000 (11:03 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2813 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/ecosboard.c

index bd106b4d48db75c3ef6faa4ce82ab25d42a3110f..b537e5bcdae6dd069a83033a98e4266cdbf4922d 100644 (file)
@@ -155,8 +155,8 @@ static char reboot_stack[2048];
 static void zylinjtag_reboot(cyg_addrword_t data)
 {
        serialLog = true;
-       diag_printf("Rebooting in 100 ticks..\n");
-       cyg_thread_delay(100);
+       diag_printf("Rebooting in 500 ticks..\n");
+       cyg_thread_delay(500);
        diag_printf("Unmounting /config..\n");
        umount("/config");
        diag_printf("Rebooting..\n");