swapping ret when sending and then checking it to to send mess doesnt work. fixed

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@767 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2014-03-12 10:12:47 +00:00
parent 204a71c51a
commit 636fb54ec7
2 changed files with 2 additions and 2 deletions

View File

@ -147,9 +147,9 @@ int setDAC(enum detDacIndex ind, int val, int imod){
string iname;
float v = val/0.001;
if(!eiger->GetDACName((unsigned int) ind,iname)) return -1;
#ifdef VERBOSE
//#ifdef VERBOSE
printf("Setting dac %d: %s to %d mV\n",ind, iname.c_str(),val);
#endif
//#endif
if(val>=0) eiger->SetDAC(iname,v);
if(!eiger->GetDAC(iname,v)) v=-1;