Uncomment contactor welded event checks

This commit is contained in:
mbuhansen 2025-09-20 21:19:08 +02:00 committed by GitHub
parent 6982476e89
commit fd52c0e5e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,11 +98,11 @@ void BmwI3Battery::update_values() { //This function maps all the values fetche
} else { } else {
clear_event(EVENT_HVIL_FAILURE); clear_event(EVENT_HVIL_FAILURE);
} }
//if (battery_status_error_disconnecting_switch > 0) { // Check if contactors are sticking / welded if (battery_status_error_disconnecting_switch > 0) { // Check if contactors are sticking / welded
// set_event(EVENT_CONTACTOR_WELDED, 0); set_event(EVENT_CONTACTOR_WELDED, 0);
//} else { } else {
// clear_event(EVENT_CONTACTOR_WELDED); clear_event(EVENT_CONTACTOR_WELDED);
//} }
} }
void BmwI3Battery::handle_incoming_can_frame(CAN_frame rx_frame) { void BmwI3Battery::handle_incoming_can_frame(CAN_frame rx_frame) {