This commit is contained in:
Jakob Ketterl
2019-05-09 20:11:21 +02:00
parent 6eb37b989f
commit bd627d77b7
2 changed files with 3 additions and 2 deletions

View File

@ -144,7 +144,7 @@ class WebSocketMessageHandler(object):
if message["type"] == "config":
for key, value in message["params"].items():
# only the keys in the protected property manager can be overridden from the web
protected = pm.collect("samp_rate", "center_freq", "rf_gain")
protected = pm.collect("samp_rate", "center_freq", "rf_gain", "rtl_type")
protected[key] = value
except json.JSONDecodeError: