Skip to content

Commit

Permalink
Add the 0x600 range for UDS messages (commaai#1077)
Browse files Browse the repository at this point in the history
add the 0x600 range for UDS messages

Co-authored-by: Comma Device <device@comma.ai>
  • Loading branch information
robbederks and Comma Device committed Sep 23, 2022
1 parent 11ea112 commit 10c0991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_elm327.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ static int elm327_tx_hook(CANPacket_t *to_send, bool longitudinal_allowed) {
//Check valid 29 bit send addresses for ISO 15765-4
//Check valid 11 bit send addresses for ISO 15765-4
if ((addr != 0x18DB33F1) && ((addr & 0x1FFF00FF) != 0x18DA00F1) &&
((addr & 0x1FFFFF00) != 0x700)) {
((addr & 0x1FFFFF00) != 0x600) && ((addr & 0x1FFFFF00) != 0x700)) {
tx = 0;
}
return tx;
Expand Down

0 comments on commit 10c0991

Please sign in to comment.