Fixed bug in detecting a transition. Put .OVAL = .VAL statement at end of process()
This commit is contained in:
+2
-1
@@ -324,7 +324,6 @@ static long process(pwait)
|
||||
long options = 0;
|
||||
|
||||
pwait->pact = TRUE;
|
||||
pwait->oval = pwait->val;
|
||||
|
||||
/* Check for simulation mode */
|
||||
status=recGblGetLinkValue(&(pwait->siml),
|
||||
@@ -391,6 +390,8 @@ static long process(pwait)
|
||||
break;
|
||||
}
|
||||
|
||||
pwait->oval = pwait->val;
|
||||
|
||||
recGblGetTimeStamp(pwait);
|
||||
/* check event list */
|
||||
monitor(pwait);
|
||||
|
||||
Reference in New Issue
Block a user