a check in gotthard server to ensure that it is really gotthard and not moench module

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@525 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-04-26 08:56:43 +00:00
parent 2ada072803
commit a7bc91da1d
4 changed files with 20 additions and 12 deletions

View File

@ -70,16 +70,15 @@ int init_detector( int b) {
exit(-1);
}
//check if it is really gotthard
check_detector_type();
printf("\n***This is a GOTTHARD detector with %d chips per module***\n", NCHIP);
if(b)
printf("***This is a GOTTHARD detector with %d chips per module***\n", NCHIP);
//testFpga();
if (b) {
#ifdef MCB_FUNCS
initDetector();
printf("Initializing Detector completed.\n\n");
printf("Initializing Detector\n");
#endif
testFpga();
testRAM();