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

pybricks / pybricks-micropython / 16218064450
56%

Build:
DEFAULT BRANCH: master
Ran 11 Jul 2025 10:42AM UTC
Jobs 2
Files 123
Run time 4min
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

11 Jul 2025 10:30AM UTC coverage: 57.143% (-0.01%) from 57.157%
16218064450

push

github

laurensvalk
pbio/drv/block_device: Drive ADC loop with fewer events.

We yielded and polled immediately after initiating the ADC transfer to give other awaitables a chance to start waiting on the transfer. This leads to many extra events and could theoretically introduce a race condition if the DMA operation completes before it gets into the right wait state.

Instead, higher level code can await new samples by waiting until the DMA completion timestamp has passed the time of interest, without inducing more events. While we do this, we can conveniently introduce a handle to wait until a specified future sample, which can be used if signals need to settle before measuring the ADC value.

3912 of 6846 relevant lines covered (57.14%)

20603145.73 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.53
-1.69% lib/pbio/src/os.c
2
95.24
0.0% lib/pbio/src/integrator.c
5
71.43
0.0% lib/pbio/sys/core.c
22
89.44
0.0% lib/pbio/src/control.c
33
53.06
-0.94% lib/pbio/src/control_settings.c
Jobs
ID Job ID Ran Files Coverage
1 PBIO - 16218064450.1 11 Jul 2025 10:45AM UTC 73
61.64
GitHub Action Run
2 virtualhub - 16218064450.2 11 Jul 2025 10:42AM UTC 94
50.42
GitHub Action Run
Source Files on build 16218064450
  • Tree
  • List 123
  • Changed 7
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16218064450
  • 6fdc7e1b on github
  • Prev Build on master (#16159555633)
  • Next Build on master (#16223031341)
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

© 2025 Coveralls, Inc