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 } /* **--------------------------------------------------------------------------*/