Skip to content

Commit ac89f0c

Browse files
authored
make body can hook exception v2 specific (commaai#2387)
1 parent 18f3793 commit ac89f0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

board/drivers/can_common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ void ignition_can_hook(CANPacket_t *msg) {
202202
}
203203
}
204204

205-
// body exception
206-
if (((msg->bus == 0U) || (msg->bus == 2U)) && (msg->addr == 0x201U)) {
205+
// body v2 exception
206+
if (((msg->bus == 0U) || (msg->bus == 2U)) && (msg->addr == 0x222U)) {
207207
ignition_can = true;
208208
ignition_can_cnt = 0U;
209209
}

0 commit comments

Comments
 (0)