somewhere in between cleaning up

This commit is contained in:
Dhanya Maliakal
2017-05-22 14:53:15 +02:00
parent 39a985cbba
commit 978af1009e
5 changed files with 292 additions and 201 deletions

View File

@ -364,24 +364,6 @@ int getTemperatureByModule(int tempSensor, int imod)
}
int initHighVoltageByModule(int val, int imod)
{
int im;
//for the particular module
if (imod>=0 && imod<nModX) {
return initHighVoltage(val,imod);
}
else{
//checks if all modules have the same value(ALLMOD)
for (im=1; im<nModX; im++) {
if (initHighVoltage(val,im)!=initHighVoltage(val,0)) {
return -1;
}
}
return initHighVoltage(val,0);
}
}
int initConfGainByModule(int isettings,int val, int imod)
{