mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 00:00:02 +02:00
fixed bug where settings complain if tau not in file even if its is not activated
This commit is contained in:
parent
b693279388
commit
3f157b8f62
Binary file not shown.
@ -1917,14 +1917,12 @@ int set_module(int file_des) {
|
||||
|
||||
//switch off rate correction: no value read from load calib/load settings)
|
||||
if(myTau == -1){
|
||||
ret = FAIL;
|
||||
if(getRateCorrectionEnable()){
|
||||
ret = FAIL;
|
||||
setRateCorrection(0);
|
||||
strcat(mess," Cannot set Rate correction. No default tau provided. Deactivating Rate Correction\n");
|
||||
}else{
|
||||
strcat(mess," Cannot set Rate correction. No default tau provided\n");
|
||||
cprintf(RED,"%s",mess);
|
||||
}
|
||||
cprintf(RED,"%s",mess);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user