1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-02-03 09:44:01 -05:00

AirspyHF: limit decimation to 32

This commit is contained in:
f4exb 2018-01-18 00:35:14 +01:00
parent 4db248c26a
commit 7c185ac268
2 changed files with 2 additions and 7 deletions

View File

@ -285,7 +285,7 @@ void AirspyHFGui::on_sampleRate_currentIndexChanged(int index)
void AirspyHFGui::on_decim_currentIndexChanged(int index)
{
if ((index <0) || (index > 6))
if ((index < 0) || (index > 5))
return;
m_settings.m_log2Decim = index;
sendSettings();

View File

@ -352,7 +352,7 @@
<string>Decimation factor</string>
</property>
<property name="currentIndex">
<number>3</number>
<number>0</number>
</property>
<item>
<property name="text">
@ -384,11 +384,6 @@
<string>32</string>
</property>
</item>
<item>
<property name="text">
<string>64</string>
</property>
</item>
</widget>
</item>
<item>