slsDetectorSoftware: users class setsettings(-1) gave undefined settings from slsDetector::setSettings. It has been fixed.

This commit is contained in:
2018-07-23 14:57:27 +02:00
parent f79b009978
commit 07a120fc4a
2 changed files with 11 additions and 2 deletions

View File

@ -3701,6 +3701,9 @@ slsDetectorDefs::detectorSettings slsDetector::setSettings( detectorSettings ise
std::cout<< "slsDetector setSettings "<< std::endl;
#endif
if (isettings == -1)
return getSettings(imod);
//only set client shared memory variable for Eiger, settings threshold loads the module data (trimbits, dacs etc.)
if (thisDetector->myDetectorType == EIGER) {
switch(isettings) {