mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Do not set CAN_STILL_ALIVE from reset_all_events
This commit is contained in:
parent
28351f8676
commit
57fbe69b14
1 changed files with 0 additions and 2 deletions
|
@ -250,10 +250,8 @@ void reset_all_events() {
|
|||
}
|
||||
events.level = EVENT_LEVEL_INFO;
|
||||
|
||||
datalayer.battery.status.CAN_battery_still_alive = CAN_STILL_ALIVE;
|
||||
datalayer.battery.status.bms_status = INACTIVE;
|
||||
#ifdef DOUBLE_BATTERY
|
||||
datalayer.battery2.status.CAN_battery_still_alive = CAN_STILL_ALIVE;
|
||||
datalayer.battery2.status.bms_status = INACTIVE;
|
||||
#endif
|
||||
update_bms_status();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue