From 4f074523085241a19bc0aa86844307f5b17b4a89 Mon Sep 17 00:00:00 2001 From: ClockeNessMnstr Date: Wed, 9 Feb 2022 21:56:36 -0500 Subject: [PATCH] 3071 panda --- board/safety/safety_subaru.h | 2 +- tests/safety/test_subaru.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/safety/safety_subaru.h b/board/safety/safety_subaru.h index bfe800142a..14e2cf22bb 100644 --- a/board/safety/safety_subaru.h +++ b/board/safety/safety_subaru.h @@ -17,7 +17,7 @@ } -const SteeringLimits SUBARU_STEERING_LIMITS = SUBARU_STEERING_LIMITS_GENERATOR(2047, 50, 70); +const SteeringLimits SUBARU_STEERING_LIMITS = SUBARU_STEERING_LIMITS_GENERATOR(3071, 50, 70); const SteeringLimits SUBARU_GEN2_STEERING_LIMITS = SUBARU_STEERING_LIMITS_GENERATOR(1000, 40, 40); diff --git a/tests/safety/test_subaru.py b/tests/safety/test_subaru.py index 96731c51ff..ba06975910 100755 --- a/tests/safety/test_subaru.py +++ b/tests/safety/test_subaru.py @@ -157,7 +157,7 @@ def _send_rpm_msg(self, rpm): class TestSubaruTorqueSafetyBase(TestSubaruSafetyBase, common.DriverTorqueSteeringSafetyTest, common.SteerRequestCutSafetyTest): MAX_RATE_UP = 50 MAX_RATE_DOWN = 70 - MAX_TORQUE = 2047 + MAX_TORQUE = 3071 # Safety around steering req bit MIN_VALID_STEERING_FRAMES = 7