Add conditional code for FOCUS
This commit is contained in:
@ -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
|
||||
}
|
||||
/*
|
||||
**--------------------------------------------------------------------------*/
|
||||
|
Reference in New Issue
Block a user