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
|
||||
|
||||
int Module::getThresholdTemperature() {
|
||||
int arg = GET_FLAG;
|
||||
auto retval = sendToDetectorStop<int>(F_THRESHOLD_TEMP, arg);
|
||||
if (retval != 0) {
|
||||
retval /= 1000;
|
||||
}
|
||||
return retval;
|
||||
auto retval = sendToDetectorStop<int>(F_THRESHOLD_TEMP, GET_FLAG);
|
||||
return retval / 1000;
|
||||
}
|
||||
|
||||
void Module::setThresholdTemperature(int val) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user