AirspyHF: limit decimation to 32

pull/127/head
f4exb 2018-01-18 00:35:14 +01:00
rodzic 4db248c26a
commit 7c185ac268
2 zmienionych plików z 2 dodań i 7 usunięć

Wyświetl plik

@ -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();

Wyświetl plik

@ -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>