Add conditional code for FOCUS

This commit is contained in:
cvs
2000-11-07 13:45:42 +00:00
parent bdb8fadc03
commit 2bc243a45b

View File

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