Bindings: Python: Fix get_gptp_status default arg

pull/64/head^2
Kyle Schwarz 2024-12-20 18:28:22 -05:00
parent dc0f16b1d2
commit 0ee8a990a7
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ void init_device(pybind11::module_& m) {
.def("request_tc10_wake", &Device::requestTC10Wake, pybind11::call_guard<pybind11::gil_scoped_release>())
.def("request_tc10_sleep", &Device::requestTC10Sleep, pybind11::call_guard<pybind11::gil_scoped_release>())
.def("get_tc10_status", &Device::getTC10Status, pybind11::call_guard<pybind11::gil_scoped_release>())
.def("get_gptp_status", &Device::getGPTPStatus, pybind11::call_guard<pybind11::gil_scoped_release>())
.def("get_gptp_status", &Device::getGPTPStatus, pybind11::arg("timeout") = std::chrono::milliseconds(100), pybind11::call_guard<pybind11::gil_scoped_release>())
.def("__repr__", &Device::describe);
}