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 Mar 25, 2022
1 parent e23f97b commit 449f0c5
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 @@ -221,7 +221,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 449f0c5

Please sign in to comment.