mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
ctb v_limit dac tristate (#761)
* ctb: allowing dac to tristate (-100) even if v_limit is set * binary in * formatting
This commit is contained in:
Binary file not shown.
@ -1149,7 +1149,7 @@ int checkVLimitCompliant(int mV) {
|
||||
}
|
||||
|
||||
int checkVLimitDacCompliant(int dac) {
|
||||
if (vLimit > 0) {
|
||||
if (vLimit > 0 && dac != -1 && dac != LTC2620_GetPowerDownValue()) {
|
||||
int mv = 0;
|
||||
// could not convert
|
||||
if (LTC2620_DacToVoltage(dac, &mv) == FAIL)
|
||||
|
Reference in New Issue
Block a user