1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Allow no decimation on channel analyzer (span log2 = 0)

This commit is contained in:
f4exb 2015-07-17 01:08:51 +02:00
parent bda4456267
commit c1c8c8cb59
2 changed files with 2 additions and 2 deletions

View File

@ -302,7 +302,7 @@ ChannelAnalyzerGUI::~ChannelAnalyzerGUI()
bool ChannelAnalyzerGUI::setNewRate(int spanLog2)
{
if ((spanLog2 < 1) || (spanLog2 > 6)) {
if ((spanLog2 < 0) || (spanLog2 > 6)) {
return false;
}

View File

@ -262,7 +262,7 @@
</font>
</property>
<property name="minimum">
<number>1</number>
<number>0</number>
</property>
<property name="maximum">
<number>6</number>