diff --git a/bindings/python/icsneopy/device/device.cpp b/bindings/python/icsneopy/device/device.cpp index 80db3bc..08ab186 100644 --- a/bindings/python/icsneopy/device/device.cpp +++ b/bindings/python/icsneopy/device/device.cpp @@ -39,7 +39,7 @@ void init_device(pybind11::module_& m) { .def("request_tc10_wake", &Device::requestTC10Wake, pybind11::call_guard()) .def("request_tc10_sleep", &Device::requestTC10Sleep, pybind11::call_guard()) .def("get_tc10_status", &Device::getTC10Status, pybind11::call_guard()) - .def("get_gptp_status", &Device::getGPTPStatus, pybind11::call_guard()) + .def("get_gptp_status", &Device::getGPTPStatus, pybind11::arg("timeout") = std::chrono::milliseconds(100), pybind11::call_guard()) .def("__repr__", &Device::describe); }