mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-22 08:35:27 +01:00
ctb fix
This commit is contained in:
Binary file not shown.
@@ -1238,7 +1238,9 @@ void setDAC(enum DACINDEX ind, int val, int mV) {
|
||||
// convert to dac units
|
||||
else if (LTC2620_VoltageToDac(val, &dacval) == OK) {
|
||||
dacValues[ind] = dacval;
|
||||
} else if (LTC2620_SetDACValue((int)ind, val, mV, &dacval) == OK)
|
||||
}
|
||||
#else
|
||||
if (LTC2620_SetDACValue((int)ind, val, mV, &dacval) == OK)
|
||||
dacValues[ind] = dacval;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user