diff --git a/panda b/panda index 104d708547..39bc5a4886 160000 --- a/panda +++ b/panda @@ -1 +1 @@ -Subproject commit 104d70854717fa7ea7db16ee4db66445d925bd65 +Subproject commit 39bc5a488686dc28b6bd7b53f555fa22ae9e5860 diff --git a/selfdrive/car/nissan/interface.py b/selfdrive/car/nissan/interface.py index d65771a2ba..aedcaa1887 100644 --- a/selfdrive/car/nissan/interface.py +++ b/selfdrive/car/nissan/interface.py @@ -1,4 +1,5 @@ from cereal import car +from panda import Panda from openpilot.selfdrive.car import get_safety_config from openpilot.selfdrive.car.interfaces import CarInterfaceBase from openpilot.selfdrive.car.nissan.values import CAR @@ -30,7 +31,7 @@ class CarInterface(CarInterfaceBase): ret.centerToFront = ret.wheelbase * 0.44 elif candidate == CAR.ALTIMA: # Altima has EPS on C-CAN unlike the others that have it on V-CAN - ret.safetyConfigs[0].safetyParam = 1 # EPS is on alternate bus + ret.safetyConfigs[0].safetyParam |= Panda.FLAG_NISSAN_ALT_EPS_BUS ret.mass = 1492 ret.wheelbase = 2.824 ret.centerToFront = ret.wheelbase * 0.44