Web API: fixed Lime SDR Tx example with latest updates

pull/127/head
f4exb 2017-12-24 04:19:27 +01:00
rodzic bf6607044a
commit d08917897c
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -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)