Skip to content

Commit

Permalink
Subaru safety: ES_LKAS message should not be forwarded
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed May 12, 2019
1 parent 252dec2 commit 3e199cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions board/safety/safety_subaru.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ static int subaru_fwd_hook(int bus_num, CAN_FIFOMailBox_TypeDef *to_fwd) {
if (addr == 545) {
return -1;
}
// ES LKAS
if (addr == 802) {
return -1;
}

return 0; // Main CAN
}
Expand Down

0 comments on commit 3e199cb

Please sign in to comment.