1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-02-03 09:44:01 -05:00

Web API: fixed Lime SDR Tx example with latest updates

This commit is contained in:
f4exb 2017-12-24 04:19:27 +01:00
parent bf6607044a
commit d08917897c

View File

@ -81,7 +81,11 @@ def main():
if r is None:
exit(-1)
settings = callAPI("/deviceset/1/channel", "POST", None, {"channelType": "NFMMod", "tx": 1}, "Create NFM mod")
r = callAPI("/deviceset/1/channel", "POST", None, {"channelType": "NFMMod", "tx": 1}, "Create NFM mod")
if r is None:
exit(-1)
settings = callAPI("/deviceset/1/channel/0/settings", "GET", None, None, "Get NFM mod settings")
if settings is None:
exit(-1)