mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 19:42:08 +02:00
Comment out contactor welded event checks
This commit is contained in:
parent
3ead4d12d4
commit
45643237e4
1 changed files with 5 additions and 5 deletions
|
@ -98,11 +98,11 @@ void BmwI3Battery::update_values() { //This function maps all the values fetche
|
|||
} else {
|
||||
clear_event(EVENT_HVIL_FAILURE);
|
||||
}
|
||||
if (battery_status_error_disconnecting_switch > 0) { // Check if contactors are sticking / welded
|
||||
set_event(EVENT_CONTACTOR_WELDED, 0);
|
||||
} else {
|
||||
clear_event(EVENT_CONTACTOR_WELDED);
|
||||
}
|
||||
//if (battery_status_error_disconnecting_switch > 0) { // Check if contactors are sticking / welded
|
||||
// set_event(EVENT_CONTACTOR_WELDED, 0);
|
||||
//} else {
|
||||
// clear_event(EVENT_CONTACTOR_WELDED);
|
||||
//}
|
||||
}
|
||||
|
||||
void BmwI3Battery::handle_incoming_can_frame(CAN_frame rx_frame) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue