mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 09:13:52 +08:00
fix vw meb ignition
This commit is contained in:
@@ -202,7 +202,7 @@ void ignition_can_hook(CANPacket_t *msg) {
|
||||
}
|
||||
|
||||
// Volkswagen MEB exception
|
||||
if ((addr == 0x3C0) && (len == 4)) {
|
||||
if ((msg->addr == 0x3C0) && (len == 4)) {
|
||||
ignition_can = (msg->data[2] >> 1) & 1U;
|
||||
ignition_can_cnt = 0U;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user