mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-06 07:07:48 -04: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:
|
if r is None:
|
||||||
exit(-1)
|
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:
|
if settings is None:
|
||||||
exit(-1)
|
exit(-1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user