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:
bergamaschi
2012-03-15 15:15:54 +00:00
parent d58ccf9c1e
commit 97a0d06618
3 changed files with 82 additions and 87 deletions

View File

@ -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