1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-17 21:28:43 -04:00

AirspyHF: Removed Fc position control

This commit is contained in:
f4exb
2018-01-14 21:37:49 +01:00
parent 6384c88f8b
commit f0861c1bb5
8 changed files with 62 additions and 241 deletions
@@ -219,7 +219,6 @@ void AirspyHFGui::displaySettings()
ui->sampleRate->setCurrentIndex(m_settings.m_devSampleRateIndex);
ui->decim->setCurrentIndex(m_settings.m_log2Decim);
ui->fcPos->setCurrentIndex((int) m_settings.m_fcPos);
blockApplySettings(false);
}
@@ -277,20 +276,6 @@ void AirspyHFGui::on_decim_currentIndexChanged(int index)
sendSettings();
}
void AirspyHFGui::on_fcPos_currentIndexChanged(int index)
{
if (index == 0) {
m_settings.m_fcPos = AirspyHFSettings::FC_POS_INFRA;
sendSettings();
} else if (index == 1) {
m_settings.m_fcPos = AirspyHFSettings::FC_POS_SUPRA;
sendSettings();
} else if (index == 2) {
m_settings.m_fcPos = AirspyHFSettings::FC_POS_CENTER;
sendSettings();
}
}
void AirspyHFGui::on_startStop_toggled(bool checked)
{
if (m_doApplySettings)