From 2bc243a45b604123a49c7bf8f7d84cbcc9114b00 Mon Sep 17 00:00:00 2001 From: cvs Date: Tue, 7 Nov 2000 13:45:42 +0000 Subject: [PATCH] Add conditional code for FOCUS --- sinqhm/SinqHM_bootParamsConfig.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sinqhm/SinqHM_bootParamsConfig.c b/sinqhm/SinqHM_bootParamsConfig.c index 779a21a4..525e49a6 100755 --- a/sinqhm/SinqHM_bootParamsConfig.c +++ b/sinqhm/SinqHM_bootParamsConfig.c @@ -860,7 +860,10 @@ int ndetM, ndetO, ndetU, c_port, s_port; int status; char tsknam[32]; - +#ifndef FOCUS + printf ("\n\"/sp=focus\" is only permitted on the FOCUS instrument!\n"); + return False; +#else void FOCUS_main (void); /* Define template for FOCUS_main */ hostM = (p_arg1 != NULL) ? p_arg1 : "localhost"; @@ -963,6 +966,7 @@ } taskDelay (1 * sysClkRateGet ()); /* Give FOCUS_main time to get going */ return True; +#endif } /* **--------------------------------------------------------------------------*/