diff options
author | japm48 <japm48@users.noreply.github.com> | 2020-03-03 12:32:43 +0100 |
---|---|---|
committer | Michael Dickens <michael.dickens@ettus.com> | 2020-03-06 13:26:29 -0500 |
commit | 3154f78425bb86934c19a99d21ed965ae6d2410d (patch) | |
tree | 9e8ad41a1fe965b711bc38a9895f2b10e7fcf4e4 /gr-blocks/examples/ctrlport/usrp_source_controller.py | |
parent | 1b362a2336f6f9b0db57021e280ff65e32409905 (diff) |
ctrlport: fix examples
Diffstat (limited to 'gr-blocks/examples/ctrlport/usrp_source_controller.py')
-rwxr-xr-x[-rw-r--r--] | gr-blocks/examples/ctrlport/usrp_source_controller.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-blocks/examples/ctrlport/usrp_source_controller.py b/gr-blocks/examples/ctrlport/usrp_source_controller.py index ec27c84a1b..d6c35d64a8 100644..100755 --- a/gr-blocks/examples/ctrlport/usrp_source_controller.py +++ b/gr-blocks/examples/ctrlport/usrp_source_controller.py @@ -30,8 +30,7 @@ if(cmd == "antenna"): else: val = pmt.from_double(float(val)) -argv = [None, args.host, args.port] -radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift') +radiosys = GNURadioControlPortClient(host=args.host, port=args.port, rpcmethod='thrift') radio = radiosys.client radio.postMessage(args.alias, port, pmt.cons(pmt.intern(cmd), val)) |