mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-07 22:38:42 +01:00
clean getThresholdTemp
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user