aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerickshepherdNI <erickshepherd@ni.com>2019-10-03 09:48:48 -0500
committerBrent Stapleton <brent.stapleton@ettus.com>2019-10-04 11:28:49 -0700
commit3a9b18da5ce1eb0763f995f6e6925cd1dc59a567 (patch)
tree17d2aeee0d9c068d6d4a9f6d187e5366d39b04e3
parentd8b75ca5324204bfb3d7cdb1a03831d9ecd97e73 (diff)
downloaduhd-3a9b18da5ce1eb0763f995f6e6925cd1dc59a567.tar.gz
uhd-3a9b18da5ce1eb0763f995f6e6925cd1dc59a567.tar.bz2
uhd-3a9b18da5ce1eb0763f995f6e6925cd1dc59a567.zip
python: fix set_command_time default mboard
Fixup for the Python API's default mboard value in multi_usrp::set_command_time.
-rw-r--r--host/lib/usrp/multi_usrp_python.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/multi_usrp_python.hpp b/host/lib/usrp/multi_usrp_python.hpp
index 9bec4bb4f..ef0cb0097 100644
--- a/host/lib/usrp/multi_usrp_python.hpp
+++ b/host/lib/usrp/multi_usrp_python.hpp
@@ -61,7 +61,7 @@ void export_multi_usrp(py::module& m)
.def("set_time_next_pps" , &multi_usrp::set_time_next_pps, py::arg("time_spec"), py::arg("mboard") = ALL_MBOARDS)
.def("set_time_unknown_pps" , &multi_usrp::set_time_unknown_pps)
.def("get_time_synchronized" , &multi_usrp::get_time_synchronized)
- .def("set_command_time" , &multi_usrp::set_command_time, py::arg("time_spec"), py::arg("mboard") = 0)
+ .def("set_command_time" , &multi_usrp::set_command_time, py::arg("time_spec"), py::arg("mboard") = ALL_MBOARDS)
.def("clear_command_time" , &multi_usrp::clear_command_time, py::arg("mboard") = ALL_MBOARDS)
.def("issue_stream_cmd" , &multi_usrp::issue_stream_cmd, py::arg("rate"), py::arg("chan") = ALL_CHANS)
.def("set_time_source" , &multi_usrp::set_time_source, py::arg("source"), py::arg("mboard") = ALL_MBOARDS)