fix get_values for events
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bindings: cxx: tests: add tests for bulk events get_valuesbindings/ | +35 | 0 replies | |
| 2/3 | tests: event: add tests for gpiod_line_get_value_bulk eventstests/ | +110 | 0 replies | |
| 3/3 | core: fix gpiod_line_get_value_bulk for eventslib/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [libgpiod][PATCH 0/3] fix get_values for events
This patch series fixes getting the values of a bulk of lineevents.
The problem was reported by Gerrit Wyen <[email protected]>, using the cxx bindings. The first patch adds test cases to confirm the reported behaviour with cxx. The second adds corresponding tests for the underlying gpiod_line_get_value_bulk with events. The third fixes gpiod_line_get_value_bulk so that it returns the correct values for a bulk of events.
Kent Gibson (3):
bindings: cxx: tests: add tests for bulk events get_values
tests: event: add tests for gpiod_line_get_value_bulk events
core: fix gpiod_line_get_value_bulk for events
bindings/cxx/tests/tests-event.cpp | 36 +++++++++- lib/core.c | 33 ++++++--- tests/tests-event.c | 110 +++++++++++++++++++++++++++++ 3 files changed, 169 insertions(+), 10 deletions(-)
base-commit: 2efb0075a7779fa61bfe01c40aa97f7d23a8e528
Signature · 1 line
2.27.0