mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 10:00:40 +02:00
gotthard2 on chip dacs: -1 should set for all chips
This commit is contained in:
parent
03ec2c53ab
commit
aaeaeab576
Binary file not shown.
@ -515,6 +515,12 @@ int setOnChipDAC(enum ONCHIP_DACINDEX ind, int chipIndex, int val) {
|
||||
return FAIL;
|
||||
}
|
||||
onChipdacValues[ind][chipIndex + 1] = val;
|
||||
if (chipIndex == -1) {
|
||||
int i;
|
||||
for (i = 1; i < NCHIP + 1; ++i) {
|
||||
onChipdacValues[ind][i] = val;
|
||||
}
|
||||
}
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user