From 9e26bd8a89aa31dc5211e1a90434ae255c72041a Mon Sep 17 00:00:00 2001 From: dragonpilot Date: Thu, 24 Oct 2019 13:44:03 +1000 Subject: [PATCH] remove canbus freq checking --- selfdrive/car/honda/carstate.py | 2 ++ selfdrive/car/toyota/carstate.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/selfdrive/car/honda/carstate.py b/selfdrive/car/honda/carstate.py index db16dabb3..a31cd83c8 100644 --- a/selfdrive/car/honda/carstate.py +++ b/selfdrive/car/honda/carstate.py @@ -159,6 +159,8 @@ def get_can_signals(CP): signals.append(("INTERCEPTOR_GAS2", "GAS_SENSOR", 0)) checks.append(("GAS_SENSOR", 50)) + checks = [] + return signals, checks diff --git a/selfdrive/car/toyota/carstate.py b/selfdrive/car/toyota/carstate.py index c7604417b..3845dee4e 100644 --- a/selfdrive/car/toyota/carstate.py +++ b/selfdrive/car/toyota/carstate.py @@ -101,6 +101,8 @@ def get_can_parser(CP): signals.append(("INTERCEPTOR_GAS2", "GAS_SENSOR", 0)) checks.append(("GAS_SENSOR", 50)) + checks = [] + return CANParser(DBC[CP.carFingerprint]['pt'], signals, checks, 0)