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

kaidokert / rm32 / 25191325120
62%
main: 63%

Build:
Build:
LAST BUILD BRANCH: tmps
DEFAULT BRANCH: main
Ran 30 Apr 2026 09:57PM UTC
Jobs 1
Files 34
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

30 Apr 2026 09:56PM UTC coverage: 61.962% (+0.03%) from 61.936%
25191325120

Pull #18

github

kaidokert
Fix e_com_time: compute from ISR intervals, not empty main-loop array

The commutation_intervals array in TimingState was never populated by
the firmware ISR, only by the harness's manual copy. This meant
e_com_time, e_rpm, and average_interval were always zero in production.

Fix: move intervals array into Commutation struct (ISR-owned), add
record_interval() called at each step advance (matching C main.c:882),
and compute e_com_time in the ISR's sync section. Main loop now reads
e_com_time from SharedComm instead of computing it from a local array.

Remove the harness's manual intervals copy (no longer needed) and
the now-empty commutation_intervals field from TimingState.
Pull Request #18: Fix e_com_time: compute from ISR intervals, not empty main-loop array

10 of 12 new or added lines in 3 files covered. (83.33%)

8 existing lines in 3 files now uncovered.

3271 of 5279 relevant lines covered (61.96%)

627.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
72.34
-0.03% rm32/src/control/isr_logic.rs

Coverage Regressions

Lines Coverage ∆ File
3
0.0
0.0% rm32/src/bin/harness.rs
3
24.95
0.0% rm32/src/shared_state.rs
2
66.58
-0.85% rm32/src/main_state.rs
Jobs
ID Job ID Ran Files Coverage
1 25191325120.1 30 Apr 2026 09:57PM UTC 34
61.96
GitHub Action Run
Source Files on build 25191325120
  • Tree
  • List 34
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25191325120
  • Pull Request #18
  • PR Base - main (#25191056699)
  • 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