Skip to content

Commit

Permalink
Toyota Prius: bug fix in toyota_safety
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Aug 29, 2017
1 parent 1e48d08 commit c705d9d
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 c705d9d

Please sign in to comment.