diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/multi_usrp_python.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/multi_usrp_python.cpp b/host/lib/usrp/multi_usrp_python.cpp index 148e0586f..479a86dcd 100644 --- a/host/lib/usrp/multi_usrp_python.cpp +++ b/host/lib/usrp/multi_usrp_python.cpp @@ -40,6 +40,7 @@ void export_multi_usrp(py::module& m) .def("set_rx_gain" , (void (multi_usrp::*)(double, const std::string&, size_t)) &multi_usrp::set_rx_gain, py::arg("gain"), py::arg("name"), py::arg("chan") = 0) .def("set_rx_gain" , (void (multi_usrp::*)(double, size_t)) &multi_usrp::set_rx_gain, py::arg("gain"), py::arg("chan") = 0) .def("set_rx_rate" , &multi_usrp::set_rx_rate, py::arg("rate"), py::arg("chan") = ALL_CHANS) + .def("set_rx_spp" , &multi_usrp::set_rx_spp, py::arg("spp"), py::arg("chan") = ALL_CHANS) .def("get_tx_freq" , &multi_usrp::get_tx_freq, py::arg("chan") = 0) .def("get_tx_num_channels" , &multi_usrp::get_tx_num_channels) .def("get_tx_rate" , &multi_usrp::get_tx_rate, py::arg("chan") = 0) |