Commit 375151c
committed
Begode: recognize the EX30 (151 V pack) so battery readout converges
The model fell through to the EX (100 V) matcher because "ex30" contained
"ex". With a 100 V ratio, the EX30's raw centivolts on the wire are
encoded above the 84-V-pack full-charge mark, so batteryPercentFromRawCv
clamps to 100 % at every charge level. Adding EX30 ahead of "ex" in the
name matcher and tagging the model at 151 V routes voltage and battery
through the right ratio.
Voltage class is a best estimate; an EX30 rider should report back if
the dashboard reads off.1 parent e77305b commit 375151c
2 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
| |||
0 commit comments