From df6953bf8268e22a42c5c68205052d6b594889da Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 25 Feb 2015 14:31:52 -0800 Subject: [PATCH] FRONTPANEL: Allow simulation startup to take up to 10 seconds (in 100ms steps) --- sim_frontpanel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_frontpanel.c b/sim_frontpanel.c index 486aef22..2d664eb3 100644 --- a/sim_frontpanel.c +++ b/sim_frontpanel.c @@ -566,7 +566,7 @@ if (1) { } #endif } -for (i=0; i<5; i++) { +for (i=0; i<100; i++) { /* Allow up to 10 seconds waiting for simulator to start up */ p->sock = sim_connect_sock_ex (NULL, hostport, NULL, NULL, SIM_SOCK_OPT_NODELAY | SIM_SOCK_OPT_BLOCKING); if (p->sock == INVALID_SOCKET) msleep (100);