mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
clean getThresholdTemp
This commit is contained in:
parent
bad7fd3906
commit
879b2c8864
@ -1274,12 +1274,8 @@ void Module::setQuad(const bool enable) {
|
|||||||
// Jungfrau Specific
|
// Jungfrau Specific
|
||||||
|
|
||||||
int Module::getThresholdTemperature() {
|
int Module::getThresholdTemperature() {
|
||||||
int arg = GET_FLAG;
|
auto retval = sendToDetectorStop<int>(F_THRESHOLD_TEMP, GET_FLAG);
|
||||||
auto retval = sendToDetectorStop<int>(F_THRESHOLD_TEMP, arg);
|
return retval / 1000;
|
||||||
if (retval != 0) {
|
|
||||||
retval /= 1000;
|
|
||||||
}
|
|
||||||
return retval;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Module::setThresholdTemperature(int val) {
|
void Module::setThresholdTemperature(int val) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user