mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 10:49:42 +02:00
Fix compilation error
This commit is contained in:
parent
d3fc7cc41e
commit
e2cec23017
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ void update_values_can_byd()
|
|||
BYD_210.data.u8[3] = (temperature_min & 0x00FF);
|
||||
|
||||
//Indicate to inverter if BMS has encountered issues
|
||||
if(bms_status == FAULT;)
|
||||
if(bms_status == FAULT)
|
||||
{
|
||||
BYD_190.data.u8[2] = 0x00; //We are not sure what this means, but battery control will be stopped for 5minutes if this is sent
|
||||
} //Todo, maybe try other values and see if the inverter stops permanently until next reboot?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue