diff --git a/sinqEPICSApp/src/pmacAxis.cpp b/sinqEPICSApp/src/pmacAxis.cpp index 39bb41b..e72e1df 100644 --- a/sinqEPICSApp/src/pmacAxis.cpp +++ b/sinqEPICSApp/src/pmacAxis.cpp @@ -1186,6 +1186,8 @@ AmorDetectorAxis::AmorDetectorAxis(pmacController *pC, int axisNo, int function) pC_->debugFlow(functionName); _function = function; + det_starting = false; + det_startTime = time(NULL); callParamCallbacks(); diff --git a/sinqEPICSApp/src/pmacAxis.h b/sinqEPICSApp/src/pmacAxis.h index 0f4f385..a50be05 100644 --- a/sinqEPICSApp/src/pmacAxis.h +++ b/sinqEPICSApp/src/pmacAxis.h @@ -117,7 +117,7 @@ class LiftAxis : public pmacAxis { The default constructor of LiftAxis just forwards to the pmacAxis constructor, which has an optional argument "autoenable" with the default value "true". However, we want that argument to be false, hence we provide - an explicit constructor + an explicit constructor. */ LiftAxis(pmacController *pController, int axisNo) : pmacAxis((pmacController *)pController, axisNo, false) {};