Commit 8d521260 authored by Marco Buttu's avatar Marco Buttu
Browse files

startScan() returns the present time in case of empty scan

parent 40c52bca
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -678,11 +678,9 @@ void MinorServoBossImpl::closeScan(ACS::Time& timeToStop) throw (
        }
    }
    else {
        // string msg("closeScan(): no scan active");
        // _EXCPT(MinorServoErrors::StatusErrorExImpl, impl, msg.c_str());
        // impl.log(LM_DEBUG);
        // throw impl.getMinorServoErrorsEx();
        ; // Do nothing
        m_configuration->m_isScanLocked = false;
        m_configuration->m_isScanning = false;
        m_configuration->m_isScanActive = false;
    }
}

@@ -1111,6 +1109,7 @@ void MinorServoBossImpl::startScan(
    }

    if(msScanInfo.is_empty_scan) {
        startingTime = getTimeStamp();
        return ;
    }
    else {