From: Benjamin Cabé <kartben@xxxxxxxxx> Python binding was ignoring event_clock line setting. Signed-off-by: Benjamin Cabé <kartben@xxxxxxxxx> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> --- bindings/python/gpiod/ext/line-settings.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/python/gpiod/ext/line-settings.c b/bindings/python/gpiod/ext/line-settings.c index 2cacbef..650235e 100644 --- a/bindings/python/gpiod/ext/line-settings.c +++ b/bindings/python/gpiod/ext/line-settings.c @@ -79,6 +79,10 @@ line_settings_init(line_settings_object *self, PyObject *args, PyObject *kwargs) if (ret) return set_error(); + ret = gpiod_line_settings_set_event_clock(self->settings, event_clock); + if (ret) + return set_error(); + return 0; } -- 2.43.0