Skip to content

Commit

Permalink
Ford: block ACCDATA_3 message from camera
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Apr 28, 2022
1 parent c806aca commit 84e3bce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion board/safety/safety_ford.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ static int ford_fwd_hook(int bus_num, CANPacket_t *to_fwd) {
}
case FORD_CAM: {
// Block stock LKAS messages
bool is_lkas_msg = (addr == MSG_LANE_ASSIST_DATA1)
bool is_lkas_msg = (addr == MSG_ACC_DATA_3)
|| (addr == MSG_LANE_ASSIST_DATA1)
|| (addr == MSG_LATERAL_MOTION_CONTROL)
|| (addr == MSG_IPMA_DATA);
if (!is_lkas_msg) {
Expand Down

0 comments on commit 84e3bce

Please sign in to comment.