• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

jandelgado / jled / 33175613579
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix_end_time_regression_on_avr
DEFAULT BRANCH: master
Ran 28 Aug 2026 01:31PM UTC
Jobs 1
Files 13
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

28 Aug 2026 01:29PM UTC coverage: 97.216%. Remained the same
33175613579

Pull #193

github

jandelgado
Compute the effect end time in 32 bits

In Update(), "period + delay_after_" and the following
"cycle_period * num_repetitions_" product were both evaluated in int.
On AVR int is 16 bits wide and uint16_t is unsigned int, so neither
operand promotes to anything wider and both expressions wrap at 65536.
Blink(500, 500).Repeat(100) computed an end time of 34463ms instead of
99999ms, stopping after roughly a third of its intended length.

JLed 4.0 cast the sum to uint32_t. The cast was lost in the 5.0 state
machine rewrite. Give cycle_period an explicit uint32_t type to restore
32 bit arithmetic for both expressions.

Platforms where int is 32 bits are unaffected: the signed and unsigned
products share the same low 32 bits and time_end is uint32_t, so the
computed value is identical there. The added regression test therefore
passes on the host with and without this fix, and only discriminates on
a 16 bit int target.
Pull Request #193: fix(avr): compute the effect end time in 32 bits

213 of 228 branches covered (93.42%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

660 of 670 relevant lines covered (98.51%)

723.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33175613579.1 28 Aug 2026 01:31PM UTC 13
97.22
GitHub Action Run
Source Files on build 33175613579
  • Tree
  • List 13
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33175613579
  • Pull Request #193
  • PR Base - master (#32500945660)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc