diff options
author | Wade Fife <wade.fife@ettus.com> | 2021-11-08 16:43:04 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-11-09 08:31:40 -0800 |
commit | 7f8e7f97c82923b2011c905e8a1374a8718b1230 (patch) | |
tree | 00db7df7f7b05e299091215604f12855f676556c /host | |
parent | 729ec7238e2cb5e3d24a5b42bdf706460d43e3c1 (diff) | |
download | uhd-7f8e7f97c82923b2011c905e8a1374a8718b1230.tar.gz uhd-7f8e7f97c82923b2011c905e8a1374a8718b1230.tar.bz2 uhd-7f8e7f97c82923b2011c905e8a1374a8718b1230.zip |
python: multi_usrp: Add set_rx_spp()
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) |