diff --git a/slsDetectorSoftware/gotthardDetectorServer/firmware_funcs.c b/slsDetectorSoftware/gotthardDetectorServer/firmware_funcs.c index c8d619c8d..63ea1b0ee 100755 --- a/slsDetectorSoftware/gotthardDetectorServer/firmware_funcs.c +++ b/slsDetectorSoftware/gotthardDetectorServer/firmware_funcs.c @@ -1225,7 +1225,7 @@ int initConfGain(int isettings,int val,int imod){ int configureMAC(int ipad,long long int macad,long long int servermacad,int ival, int adc){ - //setting adc mask + //setting adc mask and DAQ_REG int reg; int udpPacketSize=0x050E; int ipPacketSize=0x0522; @@ -1235,34 +1235,30 @@ int configureMAC(int ipad,long long int macad,long long int servermacad,int ival case 2: case 3: case 4: + bus_w(DAQ_REG,0x7f2a22); reg = (NCHAN*2)<