mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 21:37:13 +02:00
eiger server: bug fix for saving trimbits to file, was copying from destination to source in server
This commit is contained in:
@ -3460,8 +3460,10 @@ slsDetectorDefs::sls_detector_module *slsDetector::getModule(int imod){
|
||||
}
|
||||
|
||||
if (dacs) {
|
||||
for (int i=0; i<thisDetector->nDacs; ++i)
|
||||
for (int i=0; i<thisDetector->nDacs; ++i) {
|
||||
dacs[i+imod*thisDetector->nDacs]=myMod->dacs[i];
|
||||
//cprintf(BLUE,"dac%d:%d\n",i, myMod->dacs[i]);
|
||||
}
|
||||
}
|
||||
(detectorModules+imod)->gain=myMod->gain;
|
||||
(detectorModules+imod)->offset=myMod->offset;
|
||||
|
Reference in New Issue
Block a user