mbox series

[libgpiod,0/2] bindings: cxx: fix potential glitch in gpiosetcxx

Message ID 20230612145653.138615-1-brgl@bgdev.pl
Headers show
Series bindings: cxx: fix potential glitch in gpiosetcxx | expand

Message

Bartosz Golaszewski June 12, 2023, 2:56 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Kent,

This is an alternative approach to the problem you raised with your gpioset
patches. It adds a new helper method that allows to set all output values at
request-time using the line_config's set_output_values() method.

Please take a look and let me know what you think.

Bart

Bartosz Golaszewski (2):
  bindings: cxx: provide request_builder::set_output_values()
  bindings: cxx: examples: fix potential glitch in gpiosetcxx

 bindings/cxx/examples/gpiosetcxx.cpp      | 3 +--
 bindings/cxx/gpiodcxx/request-builder.hpp | 8 ++++++++
 bindings/cxx/request-builder.cpp          | 8 ++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)