diff options
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)) |