mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
WIP
This commit is contained in:
parent
19bd39eece
commit
889e926479
@ -1221,7 +1221,7 @@ void setDAC(enum DACINDEX ind, int val, int mV) {
|
||||
// convert to dac units
|
||||
if (ConvertToDifferentRange(DAC_MIN_MV, DAC_MAX_MV, LTC2620_MIN_VAL,
|
||||
LTC2620_MAX_VAL, val, &dacval) == FAIL) {
|
||||
LOG(logERRROR,
|
||||
LOG(logERROR,
|
||||
("Could not convert %d mV for dac to dac units\n", val));
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user