diff options
author | Codey McCodeface <Codey.McCodeface@gmail.com> | 2021-05-24 14:28:34 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-05-28 11:01:38 -0400 |
commit | 4d306e1f98eb60cf62ca8f0aa59e3939e7826e84 (patch) | |
tree | 43461c502368f0c32a5e4b363bee216aab94f4a4 | |
parent | c751bf59e074c6fc41920de0d782d34d78768ee9 (diff) |
gr-uhd: Adding missing Python binding for uhd::tune_request_t::policy_t.
Signed-off-by: Codey McCodeface <Codey.McCodeface@gmail.com>
-rw-r--r-- | gr-uhd/python/uhd/bindings/uhd_types_python.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-uhd/python/uhd/bindings/uhd_types_python.cc b/gr-uhd/python/uhd/bindings/uhd_types_python.cc index f05df299c1..2ec593e5c3 100644 --- a/gr-uhd/python/uhd/bindings/uhd_types_python.cc +++ b/gr-uhd/python/uhd/bindings/uhd_types_python.cc @@ -142,8 +142,7 @@ void bind_uhd_types(py::module& m) // ::uhd::tune_request_t using tune_request_t = ::uhd::tune_request_t; py::class_<tune_request_t> tune_request(m, "tune_request_t"); - tune_request - .def(py::init<double, double>()) + tune_request.def(py::init<double, double>()) .def(py::init<double>(), py::arg("target_freq") = 0.0) .def_readwrite("target_freq", &tune_request_t::target_freq) .def_readwrite("rf_freq_policy", &tune_request_t::rf_freq_policy) |