formatting and versioning

This commit is contained in:
maliakal_d 2023-11-08 11:43:09 +01:00
parent af3dc1e7f4
commit 14e11e8b5b
3 changed files with 14 additions and 14 deletions

View File

@ -1243,8 +1243,7 @@ int DetectorImpl::acquire() {
// handle jf sync issue (master idle, slaves stopped)
if (statusList.contains_only(IDLE, STOPPED)) {
status = STOPPED;
}
else
} else
status = statusList.squash(RUNNING);
}
@ -1253,7 +1252,8 @@ int DetectorImpl::acquire() {
double progress = (*std::max_element(a.begin(), a.end()));
// callback
acquisition_finished(progress, static_cast<int>(status), acqFinished_p);
acquisition_finished(progress, static_cast<int>(status),
acqFinished_p);
}
clock_gettime(CLOCK_REALTIME, &end);

View File

@ -2,8 +2,6 @@
// Copyright (C) 2021 Contributors to the SLS Detector Package
/** API versions */
#define RELEASE "7.0.3"
#define APILIB "7.0.3 0x231024"
#define APIRECEIVER "7.0.3 0x231024"
#define APICTB "7.0.3 0x231107"
#define APIGOTTHARD "7.0.3 0x231107"
#define APIGOTTHARD2 "7.0.3 0x231107"
@ -11,3 +9,5 @@
#define APIMYTHEN3 "7.0.3 0x231107"
#define APIMOENCH "7.0.3 0x231107"
#define APIEIGER "7.0.3 0x231107"
#define APILIB "7.0.3 0x231108"
#define APIRECEIVER "7.0.3 0x231108"