From 8c4b9dd08a9a33dd85172496fd2f75cc20df025a Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 7 Feb 2021 22:40:03 +0100 Subject: [PATCH] add settings for frequency_display_resolution and squelch_auto_margin --- owrx/controllers/settings.py | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/owrx/controllers/settings.py b/owrx/controllers/settings.py index 59c0b72..38961f5 100644 --- a/owrx/controllers/settings.py +++ b/owrx/controllers/settings.py @@ -96,8 +96,7 @@ class GeneralSettingsController(AdminController): NumberInput( "receiver_asl", "Receiver elevation", - infotext="Elevation in meters above mean see level", - append="m MSL", + append="meters above mean sea level", ), TextInput("receiver_admin", "Receiver admin"), LocationInput("receiver_gps", "Receiver coordinates"), @@ -158,16 +157,30 @@ class GeneralSettingsController(AdminController): NumberInput("digimodes_fft_size", "Digimodes FFT size", append="bins"), ), Section( - "Wideband FM settings", + "Demodulator settings", + NumberInput( + "squelch_auto_margin", + "Auto-Squelch threshold", + infotext="Offset to be added to the current signal level when using the auto-squelch", + append="dB", + ), DropdownInput( "wfm_deemphasis_tau", "Tau setting for WFM (broadcast FM) deemphasis", options=[o.toOption() for o in WfmTauValues], converter=WfmTauConverter(), infotext='See ' - + "this Wikipedia article for more information", + + "this Wikipedia article for more information", ), ), + Section( + "Display settings", + NumberInput( + "frequency_display_precision", + "Frequency display precision", + infotext="Number of decimal digits to show on the frequency display" + ) + ), Section( "Digital voice", NumberInput(