Fix Nissan harness malfunction detection (#1897)

This commit is contained in:
Adeeb Shihadeh
2020-07-20 12:43:34 -07:00
committed by GitHub
parent b205dd6954
commit d6074e554d
+1 -1
View File
@@ -85,7 +85,7 @@ static int nissan_rx_hook(CAN_FIFOMailBox_TypeDef *to_push) {
cruise_engaged_prev = cruise_engaged;
}
generic_rx_checks((addr == 0x169));
generic_rx_checks((addr == 0x169) && (bus == 0));
}
return valid;
}