RIT control should be enabled only in Echo mode.

This commit is contained in:
Joe Taylor 2022-08-18 10:32:22 -04:00
parent eee18ba764
commit 6126baa8ac

View File

@ -121,7 +121,6 @@ auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const
AzElFileName.toLocal8Bit ().constData (),
jpleph.toLocal8Bit ().constData ());
// qDebug() << "AA1" << m_dop00 << m_dop << width1 << width2;
QString message;
{
QTextStream out {&message};
@ -167,7 +166,7 @@ auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const
correction.width=width2;
}
if (ui_->cbDopplerTracking->isChecked()) {
ui_->sbRIT->setEnabled(m_DopplerMethod==0);
ui_->sbRIT->setEnabled(bEchoMode and m_DopplerMethod==0);
switch (m_DopplerMethod)
{
case 1: // All Doppler correction done here; DX station stays at nominal dial frequency.