Skip to content

Commit

Permalink
add false
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-desroches committed Sep 26, 2024
1 parent 93a3d65 commit b81cd79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions board/safety/safety_toyota.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ static bool toyota_get_quality_flag_valid(const CANPacket_t *to_push) {
int addr = GET_ADDR(to_push);

bool valid = false;
if (addr == 0x666) {
valid = !GET_BIT(to_push, 3U);
}

if (addr == 0x260) {
valid = !GET_BIT(to_push, 3U); // STEER_ANGLE_INITIALIZING
}
Expand Down

0 comments on commit b81cd79

Please sign in to comment.