mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02: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