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

kaidokert / rm32 / 25092173844
62%
main: 63%

Build:
Build:
LAST BUILD BRANCH: tmps
DEFAULT BRANCH: main
Ran 29 Apr 2026 05:16AM UTC
Jobs 1
Files 33
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

29 Apr 2026 05:15AM UTC coverage: 64.441% (-1.9%) from 66.32%
25092173844

Pull #4

github

kaidokert
Fix 6 critical plumbing bugs from PR #4 review

Signal pipeline fixes (every exit path publishes to SharedComm):
- Sine-start mapping now publishes shaped value back to adjusted_input
  (was writing to local only — ISR never saw the sine curve)
- Stuck rotor latch check moved before bidir mapping (catches earlier)
- Brake-on-stop skipped for RC-car reverse (has own brake handshake)

Stuck rotor lockout fix:
- BEMF timeout clearing uses raw newinput, not adjusted_input
  (process_input zeroes adjusted, so using it created permanent lockout)

Dynamic input detection:
- is_dshot published via SharedComm, firmware reads shared.dshot()
  instead of hardcoded true (servo/auto input modes now work)

Mathematical safety:
- variable_pwm_mode1 result clamped to [half_arr, full_arr]
- duty_ceiling map() results clamped to [1, 2000] (prevents u16 wrap)

New tests: sine_start_publishes_to_shared, brake_on_stop_skipped_for_rc_car
Pull Request #4: Make harness test actual firmware code

543 of 1178 new or added lines in 8 files covered. (46.1%)

40 existing lines in 3 files now uncovered.

3175 of 4927 relevant lines covered (64.44%)

590.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
346
0.0
0.0% rm32/src/bin/harness.rs
114
25.29
25.29% rm32/src/shared_state.rs
64
68.16
rm32/src/input_mapping.rs
48
20.79
-18.83% rm32/src/shared_comm.rs
30
68.0
-9.5% rm32/src/control/shared_impl.rs
19
72.01
72.01% rm32/src/main_state.rs
13
91.28
rm32/src/control/input.rs
1
73.93
1.34% rm32/src/control/isr_logic.rs

Coverage Regressions

Lines Coverage ∆ File
24
64.71
-35.29% rm32/src/control/state.rs
9
0.0
0.0% rm32/src/bin/harness.rs
7
80.26
-3.0% rm32/src/config.rs
Jobs
ID Job ID Ran Files Coverage
1 25092173844.1 29 Apr 2026 05:16AM UTC 33
64.44
GitHub Action Run
Source Files on build 25092173844
  • Tree
  • List 33
  • Changed 8
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25092173844
  • Pull Request #4
  • PR Base - main (#25063526269)
  • 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