mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 01:39:30 +02:00
Uncomment contactor welded event checks
This commit is contained in:
parent
6982476e89
commit
fd52c0e5e7
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 {
|
} 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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue