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

kaidokert / rm32 / 25201971766
63%

Build:
DEFAULT BRANCH: main
Ran 01 May 2026 04:17AM 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

01 May 2026 04:17AM UTC coverage: 60.927%. Remained the same
25201971766

push

github

web-flow
Extract MainControl sub-trait from SharedComm (#27)

* Extract MainControl sub-trait from SharedComm

Third step of SharedComm decomposition: extract 23 main→ISR control
methods into a dedicated MainControl trait:

- adjusted_input, duty_cycle_setpoint (throttle mapping output)
- stall_protection_adjust, current_limit_adjust (PID outputs)
- prop_brake_active (brake mode)
- tim1_arr, duty_maximum (PWM config)
- filter_level, min_bemf_counts, auto_advance (BEMF tuning)
- set_actual_current, set_battery_voltage, set_degrees_celsius (EDT)

SharedComm: MotorState + IsrTiming + MainControl, now down to ~15
methods (input detection, protocol flags, one-shot commands).

* Use fully-qualified SharedState:: syntax, move battery_voltage to MainControl

Normalize all SharedState trait impls to use SharedState::method(self)
form consistently, avoiding potential ambiguity with trait method
resolution.

Move battery_voltage getter from SharedComm to MainControl where it
belongs — it's main-produced measurement data consumed by ISR for EDT.

8 of 97 new or added lines in 3 files covered. (8.25%)

2 existing lines in 1 file now uncovered.

3340 of 5482 relevant lines covered (60.93%)

624.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
50
24.31
0.0% rm32/src/shared_state.rs
21
70.0
0.0% rm32/src/control/shared_impl.rs
18
22.02
0.0% rm32/src/shared_comm.rs

Coverage Regressions

Lines Coverage ∆ File
2
24.31
0.0% rm32/src/shared_state.rs
Jobs
ID Job ID Ran Files Coverage
1 25201971766.1 01 May 2026 04:17AM UTC 34
60.93
GitHub Action Run
Source Files on build 25201971766
  • Tree
  • List 34
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25201971766
  • d9f60ced on github
  • Prev Build on main (#25201391585)
  • Next Build on main (#25203213512)
  • 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