mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
added trimbit mask
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@254 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -2823,7 +2823,7 @@ int slsDetector::getChanRegs(double* retval,bool fromDetector){
|
||||
//the original array has 0 initialized
|
||||
if(chanregs){
|
||||
for (int i=0; i<n; i++)
|
||||
retval[i] = (double) chanregs[i];
|
||||
retval[i] = (double) (chanregs[i] & TRIMBITMASK);
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
Reference in New Issue
Block a user