Skip to content

Commit

Permalink
Chrysler: matching file in panda repo
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Apr 5, 2019
1 parent dd32343 commit 4662cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panda/board/safety/safety_chrysler.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ static int chrysler_fwd_hook(int bus_num, CAN_FIFOMailBox_TypeDef *to_fwd) {
if (bus_num == 0 && !chrysler_camera_detected) {
return 2;
}
// forward LKAS_HEARTBIT message from stock camera
if (bus_num == 2 && !chrysler_camera_detected && addr == 0x2d9) {
// forward all messages from camera except LKAS_COMMAND and LKAS_HUD
if (bus_num == 2 && !chrysler_camera_detected && addr != 658 && addr != 678) {
return 0;
}
return -1; // do not forward
Expand Down

0 comments on commit 4662cfc

Please sign in to comment.