mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
Fix cell max volt mapping
This commit is contained in:
parent
179b8eeaa2
commit
d2c5810863
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ void update_values_can_solax() { //This function maps all the values fetched fr
|
|||
|
||||
//BMS_PackTemps (strange name, since it has voltages?)
|
||||
SOLAX_1876.data.u8[2] = (uint8_t)cell_max_voltage; //TODO: scaling OK?
|
||||
SOLAX_1876.data.u8[3] = (cell_min_voltage >> 8);
|
||||
SOLAX_1876.data.u8[3] = (cell_max_voltage >> 8);
|
||||
|
||||
SOLAX_1876.data.u8[6] = (uint8_t)cell_min_voltage; //TODO: scaling OK?
|
||||
SOLAX_1876.data.u8[7] = (cell_min_voltage >> 8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue