From 46e1cdf4416ebd0c2d2ca1b931b0aa0046e94d3c Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Tue, 15 Nov 1994 21:46:35 +0000 Subject: [PATCH] In non-syc mode return 2 for no convert --- src/dev/devAiTestAsyn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/devAiTestAsyn.c b/src/dev/devAiTestAsyn.c index 6e29808ae..53a4f1850 100644 --- a/src/dev/devAiTestAsyn.c +++ b/src/dev/devAiTestAsyn.c @@ -133,7 +133,7 @@ static long read_ai(pai) return(2); /* don`t convert*/ } else { wait_time = (int)(pai->disv * vxTicksPerSecond); - if(wait_time<=0) return(0); + if(wait_time<=0) return(2); callbackSetPriority(pai->prio,&pcallback->callback); printf("Starting asynchronous processing: %s\n",pai->name); wdStart(pcallback->wd_id,wait_time,(FUNCPTR)callbackRequest,(int)pcallback);