Skip to content

Commit

Permalink
Merge pull request commaai#38 from commaai/toyota_safety
Browse files Browse the repository at this point in the history
Toyota Prius: bug fix in toyota_safety
  • Loading branch information
geohot authored Aug 29, 2017
2 parents 1e48d08 + c705d9d commit 8ec677a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_toyota.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static int toyota_tx_hook(CAN_FIFOMailBox_TypeDef *to_send) {
if (controls_allowed) {
// all messages are fine here
} else {
if ((to_send->RDLR & 0xFFFF00) != to_send->RDLR) return 0;
if (to_send->RDLR & 0xFFFF00) return 0;
}
}

Expand Down

0 comments on commit 8ec677a

Please sign in to comment.