Add steering safety check for cr-v
parent
f97b5d8b4a
commit
7164a730d8
|
@ -61,7 +61,7 @@ int safety_tx_hook(CAN_FIFOMailBox_TypeDef *to_send, int hardwired) {
|
|||
}
|
||||
|
||||
// STEER: safety check
|
||||
if ((to_send->RIR>>21) == 0xE4) {
|
||||
if ((to_send->RIR>>21) == 0xE4 || (to_send->RIR>>21) == 0x194) {
|
||||
if (controls_allowed) {
|
||||
to_send->RDLR &= 0xFFFFFFFF;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue