dalathegreat / Nissan-LEAF-Battery-Upgrade

Software and guides for upgrading LEAFs to bigger and newer batteries
GNU General Public License v3.0
233 stars 41 forks source link

Fix dash SOC display #16

Closed cschleifenbaum closed 10 months ago

cschleifenbaum commented 10 months ago

When mapping from [5-95] to [0-100], force a double calculation to be done. Otherwise it might end up as 0% and show ---%.