From 7f8e7f97c82923b2011c905e8a1374a8718b1230 Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Mon, 8 Nov 2021 16:43:04 -0600 Subject: python: multi_usrp: Add set_rx_spp() --- host/lib/usrp/multi_usrp_python.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host') 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) -- cgit v1.2.3