diff options
author | Carl Laufer <Kraken.rf.inc@gmail.com> | 2022-01-03 05:39:37 +0100 |
---|---|---|
committer | Carl Laufer <Kraken.rf.inc@gmail.com> | 2022-01-03 05:39:37 +0100 |
commit | 8d39eeb03b638ed5e6d4236a59d7ef09ee9d03ba (patch) | |
tree | 6d9a659bdb8b30f569ac0b0033f55f48cf86e639 /_UI/save_settings.py | |
parent | fix spectrum channel display order (diff) | |
download | krakensdr_pr-8d39eeb03b638ed5e6d4236a59d7ef09ee9d03ba.tar krakensdr_pr-8d39eeb03b638ed5e6d4236a59d7ef09ee9d03ba.tar.gz krakensdr_pr-8d39eeb03b638ed5e6d4236a59d7ef09ee9d03ba.tar.bz2 krakensdr_pr-8d39eeb03b638ed5e6d4236a59d7ef09ee9d03ba.tar.lz krakensdr_pr-8d39eeb03b638ed5e6d4236a59d7ef09ee9d03ba.tar.xz krakensdr_pr-8d39eeb03b638ed5e6d4236a59d7ef09ee9d03ba.tar.zst krakensdr_pr-8d39eeb03b638ed5e6d4236a59d7ef09ee9d03ba.zip |
Diffstat (limited to '')
-rwxr-xr-x | _UI/save_settings.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/_UI/save_settings.py b/_UI/save_settings.py index 287bf7d..0799a64 100755 --- a/_UI/save_settings.py +++ b/_UI/save_settings.py @@ -20,6 +20,8 @@ if os.path.exists(settings_file_path): # DAQ Configuration center_freq = settings.get("center_freq", 100.0) uniform_gain = settings.get("uniform_gain", 1.4) +gain_1 = settings.get("gain_1", 1.4) +gain_2 = settings.get("gain_2", 1.4) data_interface = settings.get("data_interface", "eth") default_ip = settings.get("default_ip", "0.0.0.0") @@ -68,6 +70,8 @@ def write(data = None): # DAQ Configuration data["center_freq"] = center_freq data["uniform_gain"] = uniform_gain + data["gain_1"] = gain_1 + data["gain_2"] = gain_2 data["data_interface"] = data_interface data["default_ip"] = default_ip |