Fix Nissan harness malfunction detection (#1897)

Adeeb Shihadeh 2020-07-20 12:43:34 -07:00 committed by GitHub
parent b205dd6954
commit d6074e554d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}