From 0ee8a990a72049255b2a48ec6dfbaa6700cd17f7 Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Fri, 20 Dec 2024 18:28:22 -0500 Subject: [PATCH] Bindings: Python: Fix get_gptp_status default arg --- bindings/python/icsneopy/device/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }