From 43f27c195c71a36f79b476a73906946e8a4e902f Mon Sep 17 00:00:00 2001 From: Jafar Al-Gharaibeh Date: Sun, 19 Dec 2021 14:52:35 -0600 Subject: [PATCH] CX-5 ignition fix Signed-off-by: Jafar Al-Gharaibeh --- panda/board/drivers/can_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/board/drivers/can_common.h b/panda/board/drivers/can_common.h index 5ec840568..0f0931b08 100644 --- a/panda/board/drivers/can_common.h +++ b/panda/board/drivers/can_common.h @@ -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); } }