Commit d12bd17
committed
Add MRK-S36C device quirk for resistance-level ERG control
The MRK-S36C bike is a generic FTMS device with no matching quirk, so
it defaulted to ergModeSupported=true. When an app targets ERG mode
(SetTargetPower) over Dircon, ftmsbike's power routing only forwards
the request when the bike is non-FTMS or a power sensor is configured,
so the target power request was silently dropped and resistance froze
at its last value instead of following the workout.
Detect the bike by name and force resistance-level mode with
ergModeSupported=false, matching other MRK bikes, so target power is
converted to a resistance level via the erg table instead.1 parent be5a34b commit d12bd17
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2124 | 2124 | | |
2125 | 2125 | | |
2126 | 2126 | | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
2127 | 2132 | | |
2128 | 2133 | | |
2129 | 2134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| |||
0 commit comments