drvTS is now optional for vxWorks

This commit is contained in:
Marty Kraimer
2000-06-20 19:54:40 +00:00
parent 8e6720b483
commit a8eaec8d17
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -5,10 +5,10 @@ include $(TOP)/configure/CONFIG
INC += drvTS.h
INC += devLib.h
vxDb_SRCS += drvTS.c
vxDb_SRCS += devLib.c
vxDb_SRCS += devLibVxWorks.c
vxDb_SRCS += date.c
OBJS_vxWorks += drvTS
LIBRARY_vxWorks = vxDb
+6
View File
@@ -13,6 +13,9 @@
/*
* $Log$
* Revision 1.35 2000/06/16 14:08:54 mrk
* get rid of tsSubr; more call to TSinit to os/osdThead
*
* Revision 1.34 2000/02/22 19:07:16 mrk
* change osiSockResource.h to osiSock.h
*
@@ -185,6 +188,7 @@
#include "drvSup.h"
#include "drvTS.h"
#include "osiSock.h"
#include "iocClock.h"
#define TSprintf epicsPrintf
@@ -566,6 +570,8 @@ long TSinit(void)
Debug0(5,"In TSinit()\n");
if(TSinitialized) return(0);
/*register with iocClock */
iocClockRegister(TScurrentTimeStamp,TSgetTimeStamp);
TSinitialized = 1;
/* 0=default, 1=none, 2=direct */