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:
parent
bf6607044a
commit
d08917897c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user