Skip to content

fix potential glitches in bindings example gpiosets

Kent Gibson linux-gpio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bindings: python: examples: fix potential glitch in gpioset.pybindings/python/examples/gpioset.py+5 -56 replies
2/2bindings: cxx: examples: fix potential glitch in gpiosetcxxbindings/cxx/examples/gpiosetcxx.cpp+10 -151 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [libgpiod][PATCH 0/2] fix potential glitches in bindings example gpiosets

A couple of minor fixes to the bindings examples. Noticed the python one in passing, and fixed that, then checked the other bindings to see if they had the same problem.

The rust example is ok, but the cxx example has the same issue, so fixed that as well.

The checkin comments are virtually identical, as they fix the same thing for each of the bindings, but the alternative of combining them in one patch seemed weird.

Cheers,
Kent.

Kent Gibson (2):
bindings: python: examples: fix potential glitch in gpioset.py
bindings: cxx: examples: fix potential glitch in gpiosetcxx

 bindings/cxx/examples/gpiosetcxx.cpp | 25 ++++++++++---------------
 bindings/python/examples/gpioset.py  | 10 +++++-----
 2 files changed, 15 insertions(+), 20 deletions(-)
Signature · 1 line
2.40.1