mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-02 19:00:05 +02:00
gothard server bug fix: conf gain val instead of always dynamic gain
This commit is contained in:
parent
a4de4bb475
commit
87f7563035
@ -1084,7 +1084,7 @@ enum detectorSettings setSettings(enum detectorSettings sett){
|
|||||||
}
|
}
|
||||||
// set conf gain
|
// set conf gain
|
||||||
bus_w(addr, bus_r(addr) & ~GAIN_CONFGAIN_MSK);
|
bus_w(addr, bus_r(addr) & ~GAIN_CONFGAIN_MSK);
|
||||||
bus_w(addr, bus_r(addr) | GAIN_CONFGAIN_DYNMC_GAIN_VAL);
|
bus_w(addr, bus_r(addr) | confgain);
|
||||||
FILE_LOG(logINFO, ("\tGain Reg: 0x%x\n", bus_r(addr)));
|
FILE_LOG(logINFO, ("\tGain Reg: 0x%x\n", bus_r(addr)));
|
||||||
thisSettings = sett;
|
thisSettings = sett;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user