some change

This commit is contained in:
Dhanya Maliakal 2016-02-25 16:25:27 +01:00
parent 0fa33dc74c
commit e0f645ed4b

View File

@ -1753,6 +1753,14 @@ int multiSlsDetector::setDynamicRange(int n, int pos){
}
}
//for usability for the user
if (getDetectorsType() == EIGER){
if(thisMultiDetector->dataBytes == 32)
setSpeed(CLOCK_DIVIDER,2);
else if(thisMultiDetector->dataBytes == 16)
setSpeed(CLOCK_DIVIDER,1);
}
return thisMultiDetector->dataBytes;
};