Commit 7684bff
committed
feat(ios): apply cadence_gain and cadence_offset in Apple Watch cadence path
The cadence_gain and cadence_offset settings are already exposed in
the UI and applied by other device drivers (Proform, Domyos, etc.),
but were not applied when Cadence is sourced from Apple Watch step
cadence. This made the settings dead-weight for users on the Fake
Treadmill / Apple Watch path.
Wires up the existing settings so users can scale or offset the
broadcast Cadence (useful when receiving apps interpret BLE FTMS
cadence with different scaling than QZ broadcasts). Defaults are
no-ops (gain=1, offset=0). Speed calculation still uses raw
cadence so the Wheel Ratio behaves identically.1 parent f964d67 commit 7684bff
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
625 | | - | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
626 | 632 | | |
627 | 633 | | |
628 | 634 | | |
| |||
0 commit comments