CX-5 ignition fix

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
This commit is contained in:
Jafar Al-Gharaibeh
2021-12-19 14:52:35 -06:00
parent d91c642a49
commit 43f27c195c
+2 -1
View File
@@ -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);
}
}