Undoing all float to double changes

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@219 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-08-13 13:26:53 +00:00
parent 1c7f70e14e
commit c880f883e3

View File

@ -842,13 +842,13 @@ int read_register(int file_des) {
int set_dac(int file_des) {
double retval;
float retval;
int ret=OK;
int arg[2];
enum dacIndex ind;
int imod;
int n;
double val;
float val;
int idac=0;
sprintf(mess,"Can't set DAC\n");
@ -954,7 +954,7 @@ add possible potentiometers like in chiptest board!!!!!!!!!!!!!!!
int get_adc(int file_des) {
double retval;
float retval;
int ret=OK;
int arg[2];
enum dacIndex ind;
@ -1312,8 +1312,8 @@ int set_module(int file_des) {
sls_detector_module myModule;
int *myChip=malloc(NCHIP*sizeof(int));
int *myChan=malloc(NCHIP*NCHAN*sizeof(int));
double *myDac=malloc(NDAC*sizeof(int));
double *myAdc=malloc(NADC*sizeof(int));
float *myDac=malloc(NDAC*sizeof(int));
float *myAdc=malloc(NADC*sizeof(int));
int retval, n;
int ret=OK;
int dr;//, ow;
@ -1431,8 +1431,8 @@ int get_module(int file_des) {
sls_detector_module myModule;
int *myChip=malloc(NCHIP*sizeof(int));
int *myChan=malloc(NCHIP*NCHAN*sizeof(int));
double *myDac=malloc(NDAC*sizeof(int));
double *myAdc=malloc(NADC*sizeof(int));
float *myDac=malloc(NDAC*sizeof(int));
float *myAdc=malloc(NADC*sizeof(int));
if (myDac)