mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 13:47:01 -04:00
FCD: implemented decimation
This commit is contained in:
@@ -308,6 +308,7 @@ void FCDProGui::displaySettings()
|
||||
ui->gain4->setCurrentIndex(m_settings.m_gain4Index);
|
||||
ui->gain5->setCurrentIndex(m_settings.m_gain5Index);
|
||||
ui->gain6->setCurrentIndex(m_settings.m_gain6Index);
|
||||
ui->decim->setCurrentIndex(m_settings.m_log2Decim);
|
||||
ui->rcFilter->setCurrentIndex(m_settings.m_rcFilterIndex);
|
||||
ui->ifFilter->setCurrentIndex(m_settings.m_ifFilterIndex);
|
||||
}
|
||||
@@ -439,6 +440,16 @@ void FCDProGui::on_gain6_currentIndexChanged(int index)
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
void FCDProGui::on_decim_currentIndexChanged(int index)
|
||||
{
|
||||
if ((index < 0) || (index > 6)) {
|
||||
return;
|
||||
}
|
||||
|
||||
m_settings.m_log2Decim = index;
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
void FCDProGui::on_setDefaults_clicked(bool checked)
|
||||
{
|
||||
(void) checked;
|
||||
|
||||
Reference in New Issue
Block a user