From 262a75beec944e4a8859bf40620181f991549b88 Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 23 Feb 2021 06:56:26 +0100 Subject: [PATCH] RTL-SDR: increase LO ppm range to +/-200 --- plugins/samplesource/rtlsdr/rtlsdrgui.cpp | 2 +- plugins/samplesource/rtlsdr/rtlsdrgui.ui | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/plugins/samplesource/rtlsdr/rtlsdrgui.cpp b/plugins/samplesource/rtlsdr/rtlsdrgui.cpp index 4660037c6..5f851add1 100644 --- a/plugins/samplesource/rtlsdr/rtlsdrgui.cpp +++ b/plugins/samplesource/rtlsdr/rtlsdrgui.cpp @@ -342,7 +342,7 @@ void RTLSDRGui::on_fcPos_currentIndexChanged(int index) void RTLSDRGui::on_ppm_valueChanged(int value) { - if ((value > 99) || (value < -99)) + if ((value > 200) || (value < -200)) { return; } diff --git a/plugins/samplesource/rtlsdr/rtlsdrgui.ui b/plugins/samplesource/rtlsdr/rtlsdrgui.ui index 2d0a3aa4c..bdbe8b255 100644 --- a/plugins/samplesource/rtlsdr/rtlsdrgui.ui +++ b/plugins/samplesource/rtlsdr/rtlsdrgui.ui @@ -169,7 +169,10 @@ Local Oscillator ppm correction - -99 + -200 + + + 200 1 @@ -660,17 +663,17 @@ + + ButtonSwitch + QToolButton +
gui/buttonswitch.h
+
ValueDial QWidget
gui/valuedial.h
1
- - ButtonSwitch - QToolButton -
gui/buttonswitch.h
-
TransverterButton QPushButton