From 0170e0c88a0e8499211ff6a87cebc60c0a7c504d Mon Sep 17 00:00:00 2001 From: Jim Kowalkowski Date: Thu, 2 Feb 1995 17:15:55 +0000 Subject: [PATCH] Removed the stinking message "Cannot contact master timing IOC ". --- src/db/drvTS.c | 8 +++++++- src/vxWorks/db/drvTS.c | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/db/drvTS.c b/src/db/drvTS.c index c307e33d7..2b74e9bd0 100644 --- a/src/db/drvTS.c +++ b/src/db/drvTS.c @@ -1,6 +1,10 @@ /* * $Log$ + * Revision 1.6 1995/02/01 15:29:54 winans + * Added a type field to the configure command to disable the use of the event + * system hardware if desired. + * * Revision 1.5 1994/12/16 15:51:21 winans * Changed error message in the event system error handler & added a conditional * based on a debug flag to print it... defaults to off. (Per request from MRK.) @@ -514,12 +518,14 @@ long TSinit() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp); + /* this should work */ errPrintf(FL,"Failed to set time from Unix server\n"); } if( TSsetClockFromMaster()<0 ) { - errPrintf(FL,"Could not contact a master timing IOC\n"); + /* do nothing here */ + /* errPrintf(FL,"Could not contact a master timing IOC\n"); */ } else TSdata.state = TS_master_alive; diff --git a/src/vxWorks/db/drvTS.c b/src/vxWorks/db/drvTS.c index c307e33d7..2b74e9bd0 100644 --- a/src/vxWorks/db/drvTS.c +++ b/src/vxWorks/db/drvTS.c @@ -1,6 +1,10 @@ /* * $Log$ + * Revision 1.6 1995/02/01 15:29:54 winans + * Added a type field to the configure command to disable the use of the event + * system hardware if desired. + * * Revision 1.5 1994/12/16 15:51:21 winans * Changed error message in the event system error handler & added a conditional * based on a debug flag to print it... defaults to off. (Per request from MRK.) @@ -514,12 +518,14 @@ long TSinit() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp); + /* this should work */ errPrintf(FL,"Failed to set time from Unix server\n"); } if( TSsetClockFromMaster()<0 ) { - errPrintf(FL,"Could not contact a master timing IOC\n"); + /* do nothing here */ + /* errPrintf(FL,"Could not contact a master timing IOC\n"); */ } else TSdata.state = TS_master_alive;