mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-09 03:20:42 +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:
parent
d032f43f11
commit
a5f26252b8
Binary file not shown.
@ -1149,7 +1149,7 @@ int checkVLimitCompliant(int mV) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int checkVLimitDacCompliant(int dac) {
|
int checkVLimitDacCompliant(int dac) {
|
||||||
if (vLimit > 0) {
|
if (vLimit > 0 && dac != -1 && dac != LTC2620_GetPowerDownValue()) {
|
||||||
int mv = 0;
|
int mv = 0;
|
||||||
// could not convert
|
// could not convert
|
||||||
if (LTC2620_DacToVoltage(dac, &mv) == FAIL)
|
if (LTC2620_DacToVoltage(dac, &mv) == FAIL)
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
#define RELEASE "developer"
|
#define RELEASE "developer"
|
||||||
#define APILIB "developer 0x230224"
|
#define APILIB "developer 0x230224"
|
||||||
#define APIRECEIVER "developer 0x230224"
|
#define APIRECEIVER "developer 0x230224"
|
||||||
#define APICTB "developer 0x230525"
|
|
||||||
#define APIGOTTHARD "developer 0x230525"
|
#define APIGOTTHARD "developer 0x230525"
|
||||||
#define APIGOTTHARD2 "developer 0x230525"
|
#define APIGOTTHARD2 "developer 0x230525"
|
||||||
#define APIMYTHEN3 "developer 0x230525"
|
#define APIMYTHEN3 "developer 0x230525"
|
||||||
#define APIMOENCH "developer 0x230525"
|
#define APIMOENCH "developer 0x230525"
|
||||||
#define APIEIGER "developer 0x230525"
|
#define APIEIGER "developer 0x230525"
|
||||||
#define APIJUNGFRAU "developer 0x230525"
|
#define APIJUNGFRAU "developer 0x230525"
|
||||||
|
#define APICTB "developer 0x230605"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user