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

jandelgado / jled / 33175647107
97%

Build:
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
33175647107

push

github

web-flow
fix(avr): compute the effect end time in 32 bits (#193)

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.

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 33175647107.1 28 Aug 2026 01:31PM UTC 13
97.22
GitHub Action Run
Source Files on build 33175647107
  • 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 #33175647107
  • caf9c0a8 on github
  • Prev Build on 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