mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 23:37:14 +02:00
string length on the scansteps command corrected
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@143 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -2454,13 +2454,13 @@ int slsDetectorUtils::setScanSteps(int iscan, int nvalues, float *values) {
|
||||
scanSteps[iscan][iv]=values[iv];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (scanMode[iscan]>0){
|
||||
*actionMask |= (1 << (iscan+MAX_ACTIONS));
|
||||
} else {
|
||||
*actionMask &= ~(1 << (iscan+MAX_ACTIONS));
|
||||
}
|
||||
|
||||
|
||||
#ifdef VERBOSE
|
||||
cout << "Action mask is " << hex << actionMask << dec << endl;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user