From 02057413547fe190d64c284650ff4d061fe98df3 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 2 Aug 2001 21:19:50 +0000 Subject: [PATCH] improved beacon period test --- src/ca/acctst.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ca/acctst.c b/src/ca/acctst.c index 03aacdde6..ef28143ec 100644 --- a/src/ca/acctst.c +++ b/src/ca/acctst.c @@ -1968,10 +1968,13 @@ void verifyReasonableBeaconPeriod ( chid chan ) } printf ( "Beacon period error estimate = %f sec.\n", error ); } + else { + printf ( "Beacon period unavailable\n" ); + } assert ( attempts++ < maxAttempts ); printf ( "Waiting for a better beacon period estimate result (%f sec).\n", attempts * delay ); - epicsThreadSleep ( delay ); + ca_pend_event ( delay ); } } }