aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/types
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/types')
-rw-r--r--host/lib/types/tune_python.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/types/tune_python.hpp b/host/lib/types/tune_python.hpp
index 75455e3d8..842e9b124 100644
--- a/host/lib/types/tune_python.hpp
+++ b/host/lib/types/tune_python.hpp
@@ -31,6 +31,7 @@ void export_tune(py::module& m)
.def_readwrite("rf_freq", &tune_request_t::rf_freq)
.def_readwrite("dsp_freq", &tune_request_t::dsp_freq)
.def_readwrite("args", &tune_request_t::args);
+ py::implicitly_convertible<double, tune_request_t>();
py::class_<tune_result_t>(m, "tune_result")
.def(py::init<>())