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

jacob-meacham / rotary-voip / 26430541998
59%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 03:30AM UTC
Jobs 1
Files 46
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

26 May 2026 03:28AM UTC coverage: 58.697% (+0.02%) from 58.682%
26430541998

push

github

jacob-meacham
fix(gpio): use push-pull drive on outputs (was inadvertently open-drain)

For input pins, lgpio's lFlags parameter encodes bias (SET_PULL_NONE,
SET_PULL_UP, SET_PULL_DOWN). For output pins, the same lFlags parameter
encodes drive mode (DRIVE_PUSH_PULL=0, DRIVE_OPEN_DRAIN=1,
DRIVE_OPEN_SOURCE=2, ACTIVE_LOW=4). The integer values overlap.

We were passing SET_PULL_NONE (=1) as lFlags to gpio_claim_output for
outputs, which lgpio interprets as DRIVE_OPEN_DRAIN — the pin can pull
LOW but can only float HIGH. The PAM8302's internal pull-up on its EN
pin was usually enough to keep EN HIGH when we wanted, but this is
unreliable — temperature, supply variation, or even a slightly
different PAM8302 batch can flip the polarity to "amp on when GPIO is
LOW", which is what the user just observed.

Pass 0 to select the default DRIVE_PUSH_PULL so HIGH actually drives
the pin to 3.3V.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

0 of 2 new or added lines in 1 file covered. (0.0%)

2396 of 4082 relevant lines covered (58.7%)

0.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
61.2
0.24% src/rotary_phone/hardware/gpio_abstraction.py
Jobs
ID Job ID Ran Files Coverage
1 26430541998.1 26 May 2026 03:30AM UTC 46
58.7
GitHub Action Run
Source Files on build 26430541998
  • Tree
  • List 46
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26430541998
  • 67651b99 on github
  • Prev Build on main (#26408616263)
  • Delete
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