Replace epicsTimeERROR with specific error status values

Introduced error status values for epicsTime routines.
The epicsTimeERROR identifier no longer exists, so code that uses it will
no longer compile (deliberately). Replace all uses of it with a specific
error status value.
This commit is contained in:
Andrew Johnson
2014-12-02 15:25:09 -06:00
parent b3ad20dec7
commit c16c4590ec
12 changed files with 72 additions and 48 deletions

View File

@@ -37,7 +37,7 @@ static int getCurrentTime(double * pseconds)
{
epicsTimeStamp ts;
if (epicsTimeERROR != epicsTimeGetCurrent(&ts)) {
if (epicsTimeOK == epicsTimeGetCurrent(&ts)) {
*pseconds = ts.secPastEpoch + ((double)(ts.nsec)) * 1e-9;
return 0;
}