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:
parent
bda4456267
commit
c1c8c8cb59
@ -302,7 +302,7 @@ ChannelAnalyzerGUI::~ChannelAnalyzerGUI()
|
||||
|
||||
bool ChannelAnalyzerGUI::setNewRate(int spanLog2)
|
||||
{
|
||||
if ((spanLog2 < 1) || (spanLog2 > 6)) {
|
||||
if ((spanLog2 < 0) || (spanLog2 > 6)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -262,7 +262,7 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>6</number>
|
||||
|
Loading…
Reference in New Issue
Block a user