• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lexus2k / lcdgfx / 23979950296
51%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2026 01:36PM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Apr 2026 01:34PM UTC coverage: 48.93%. Remained the same
23979950296

push

github

lexus2k
Fix libgpiod line ownership bug in GPIO functions (#134)

The libgpiod implementation had a critical resource management issue:
gpio_direction() acquired a line via gpiod_line_request but never
released it, causing gpio_write() and gpio_read() to fail when they
tried to re-request the same line.

Fix by caching line objects in a static array. gpio_direction()
releases and re-requests to change direction, while gpio_read()
and gpio_write() reuse the already-requested line directly.
gpio_unexport() now properly releases cached lines.

This fixes GPIO failures on Raspberry Pi with kernel 6.6+ when
built with libgpiod support.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

846 of 1729 relevant lines covered (48.93%)

17232.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23979950296.1 04 Apr 2026 01:36PM UTC 33
48.93
GitHub Action Run
Source Files on build 23979950296
  • Tree
  • List 33
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • abe5faa4 on github
  • Prev Build on master (#23976743177)
  • Next Build on master (#23985140097)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc