mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
gotthard2, dacs and onchip dacs from config file
This commit is contained in:
Binary file not shown.
@ -86,10 +86,7 @@ void basictests() {
|
||||
"Could not map to memory. Dangerous to continue.\n");
|
||||
FILE_LOG(logERROR, (initErrorMessage));
|
||||
initError = FAIL;
|
||||
initCheckDone = 1;
|
||||
return;
|
||||
}
|
||||
initCheckDone = 1;
|
||||
return;
|
||||
#else
|
||||
|
||||
@ -100,7 +97,6 @@ void basictests() {
|
||||
"Could not map to memory. Dangerous to continue.\n");
|
||||
FILE_LOG(logERROR, ("%s\n\n", initErrorMessage));
|
||||
initError = FAIL;
|
||||
initCheckDone = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
@ -110,7 +106,6 @@ void basictests() {
|
||||
"Could not pass basic tests of FPGA and bus. Dangerous to continue.\n");
|
||||
FILE_LOG(logERROR, ("%s\n\n", initErrorMessage));
|
||||
initError = FAIL;
|
||||
initCheckDone = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
@ -151,7 +146,6 @@ void basictests() {
|
||||
|
||||
// return if flag is not zero, debug mode
|
||||
if (debugflag) {
|
||||
initCheckDone = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
@ -163,7 +157,6 @@ void basictests() {
|
||||
"Cant read versions from FPGA. Please update firmware.\n");
|
||||
FILE_LOG(logERROR, (initErrorMessage));
|
||||
initError = FAIL;
|
||||
initCheckDone = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
@ -176,7 +169,6 @@ void basictests() {
|
||||
(long long int)REQRD_FRMWR_VRSN);
|
||||
FILE_LOG(logERROR, (initErrorMessage));
|
||||
initError = FAIL;
|
||||
initCheckDone = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
@ -189,11 +181,9 @@ void basictests() {
|
||||
(long long int)REQRD_FRMWR_VRSN);
|
||||
FILE_LOG(logERROR, (initErrorMessage));
|
||||
initError = FAIL;
|
||||
initCheckDone = 1;
|
||||
return;
|
||||
}
|
||||
FILE_LOG(logINFO, ("\tCompatibility - success\n"));
|
||||
initCheckDone = 1;
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -420,7 +410,10 @@ uint32_t getDetectorIP(){
|
||||
/* initialization */
|
||||
|
||||
void initControlServer(){
|
||||
setupDetector();
|
||||
if (initError == OK) {
|
||||
setupDetector();
|
||||
}
|
||||
initCheckDone = 1;
|
||||
}
|
||||
|
||||
void initStopServer() {
|
||||
|
Reference in New Issue
Block a user