Commit 70c3aee5 authored by marco-buttu's avatar marco-buttu
Browse files

Removed isRemoteOn() check at startup

parent 4a7bf623
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -71,22 +71,6 @@ CConfiguration const * const CComponentCore::execute() throw (
    }
    m_localOscillatorValue=0.0;
    m_setupMode="";

    if(m_control->isRemoteOn()) {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEIVER_REMOTELY_CONTROLLABLE"
        );
    }
    else {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEIVER_NOT_REMOTELY_CONTROLLABLE"
        );
    }

    return &m_configuration;
}

+0 −15
Original line number Diff line number Diff line
@@ -65,21 +65,6 @@ CConfiguration const * const CComponentCore::execute() throw (ComponentErrors::
        m_localOscillatorValue=m_configuration.getDefaultLO()[i];
    }
    m_setupMode="";

    if(m_control->isRemoteOn()) {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEIVER_REMOTELY_CONTROLLABLE"
        );
    }
    else {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEIVER_NOT_REMOTELY_CONTROLLABLE"
        );
    }
    return &m_configuration;
}

+0 −16
Original line number Diff line number Diff line
@@ -70,22 +70,6 @@ CConfiguration const * const CComponentCore::execute() throw (
    
    m_localOscillatorValue = m_configuration.getDefaultLO()[0];
    m_actualMode="";

    if(m_control->isRemoteOn()) {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEIVER_REMOTELY_CONTROLLABLE"
        );
    }
    else {
        _IRA_LOGFILTER_LOG(
            LM_INFO,
            "CComponentCore::execute()",
            "RECEIVER_NOT_REMOTELY_CONTROLLABLE"
        );
    }

    return &m_configuration;
}