mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-13 07:18:14 +01:00
gotthard2 on chip dacs: -1 should set for all chips
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user