Merge branch 'developer' into checkargs

This commit is contained in:
Dhanya Thattil
2020-07-27 15:49:08 +02:00
committed by GitHub
7 changed files with 181 additions and 23 deletions

View File

@ -1274,12 +1274,8 @@ void Module::setQuad(const bool enable) {
// Jungfrau Specific
int Module::getThresholdTemperature() const {
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) {