summaryrefslogtreecommitdiffstats
path: root/_UI/save_settings.py
diff options
context:
space:
mode:
authorCarl Laufer <Kraken.rf.inc@gmail.com>2022-01-03 05:39:37 +0100
committerCarl Laufer <Kraken.rf.inc@gmail.com>2022-01-03 05:39:37 +0100
commit8d39eeb03b638ed5e6d4236a59d7ef09ee9d03ba (patch)
tree6d9a659bdb8b30f569ac0b0033f55f48cf86e639 /_UI/save_settings.py
parentfix spectrum channel display order (diff)
downloadkrakensdr_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.py4
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