mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
CX-5 ignition fix
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
This commit is contained in:
@@ -222,7 +222,8 @@ void ignition_can_hook(CANPacket_t *to_push) {
|
||||
|
||||
// Mazda exception
|
||||
if ((addr == 0x9E) && (len == 8)) {
|
||||
ignition_can = (GET_BYTE(to_push, 0) >> 4) == 0xDU;
|
||||
ignition_can = ((GET_BYTE(to_push, 0) >> 4) == 0xDU) ||
|
||||
((GET_BYTE(to_push, 0) >> 4) == 0xCU);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user