mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Allow no decimation on channel analyzer (span log2 = 0)
This commit is contained in:
parent
bda4456267
commit
c1c8c8cb59
@ -302,7 +302,7 @@ ChannelAnalyzerGUI::~ChannelAnalyzerGUI()
|
|||||||
|
|
||||||
bool ChannelAnalyzerGUI::setNewRate(int spanLog2)
|
bool ChannelAnalyzerGUI::setNewRate(int spanLog2)
|
||||||
{
|
{
|
||||||
if ((spanLog2 < 1) || (spanLog2 > 6)) {
|
if ((spanLog2 < 0) || (spanLog2 > 6)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -262,7 +262,7 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimum">
|
<property name="minimum">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<number>6</number>
|
<number>6</number>
|
||||||
|
Loading…
Reference in New Issue
Block a user