some changes refactoring and reducing time spent

This commit is contained in:
Dhanya Maliakal
2015-11-13 17:47:44 +01:00
parent ab9e01f212
commit c43af96487
4 changed files with 53 additions and 41 deletions

View File

@ -355,7 +355,7 @@ void setDAC(enum detDacIndex ind, int val, int imod, int mV, int retval[]){
ret[1] = retval[mV];
setDAC(VCMP_RL,val,imod,mV,retval);
ret[2] = retval[mV];
setDAC(VCMP_RL,val,imod,mV,retval);
setDAC(VCMP_RR,val,imod,mV,retval);
ret[3] = retval[mV];
if((ret[0]== ret[1])&&