From 3a9b18da5ce1eb0763f995f6e6925cd1dc59a567 Mon Sep 17 00:00:00 2001 From: erickshepherdNI Date: Thu, 3 Oct 2019 09:48:48 -0500 Subject: python: fix set_command_time default mboard Fixup for the Python API's default mboard value in multi_usrp::set_command_time. --- host/lib/usrp/multi_usrp_python.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3