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 committed 2014-12-02 15:25:09 -06:00
1 parent b3ad20dec7
commit c16c4590ec
12 files changed
+72 -48

No files matched your search

+1 -1
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;
}