mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +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;
|
return FAIL;
|
||||||
}
|
}
|
||||||
onChipdacValues[ind][chipIndex + 1] = val;
|
onChipdacValues[ind][chipIndex + 1] = val;
|
||||||
|
if (chipIndex == -1) {
|
||||||
|
int i;
|
||||||
|
for (i = 1; i < NCHIP + 1; ++i) {
|
||||||
|
onChipdacValues[ind][i] = val;
|
||||||
|
}
|
||||||
|
}
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user