aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorLars Amsel <lars.amsel@ni.com>2020-06-10 15:29:44 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-06-11 10:12:42 -0500
commit953b64ad061b3f677134b987c2bc395c39bd19b9 (patch)
tree06f4779bfe71142cb4fe8a8d68fdf977f5b74238 /host/lib
parent5cda86b7e09be7865807700a58e41ec021bf3c74 (diff)
downloaduhd-953b64ad061b3f677134b987c2bc395c39bd19b9.tar.gz
uhd-953b64ad061b3f677134b987c2bc395c39bd19b9.tar.bz2
uhd-953b64ad061b3f677134b987c2bc395c39bd19b9.zip
uhd: cal: Fix function binding in Python cal data container class
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/cal/cal_python.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/cal/cal_python.hpp b/host/lib/cal/cal_python.hpp
index bf1975416..513dda344 100644
--- a/host/lib/cal/cal_python.hpp
+++ b/host/lib/cal/cal_python.hpp
@@ -75,7 +75,7 @@ void export_cal(py::module& m)
py::class_<container, std::shared_ptr<container>>(m, "container")
.def("get_name", &container::get_name)
.def("get_serial", &container::get_serial)
- .def("get_timestamp", &container::get_name)
+ .def("get_timestamp", &container::get_timestamp)
.def("serialize",
[](std::shared_ptr<container>& self) {
return vector_to_pybytes(self->serialize());