Skip to content

Commit b0a9a26

Browse files
authored
line too long
1 parent 95ac5b9 commit b0a9a26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opendbc/car/honda/carstate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ def update(self, can_parsers) -> structs.CarState:
9595
ret.seatbeltUnlatched = bool(cp.vl["SEATBELT_STATUS"]["SEATBELT_DRIVER_LAMP"] or not cp.vl["SEATBELT_STATUS"]["SEATBELT_DRIVER_LATCHED"])
9696

9797
steer_status = self.steer_status_values[cp.vl["STEER_STATUS"]["STEER_STATUS"]]
98-
ret.steerFaultPermanent = steer_status not in ("NORMAL", "NO_TORQUE_ALERT_1", "NO_TORQUE_ALERT_2", "LOW_SPEED_LOCKOUT", "TJA_LOW_SPEED_LOCKOUT", "TMP_FAULT")
98+
ret.steerFaultPermanent = steer_status not in ("NORMAL", "NO_TORQUE_ALERT_1", "NO_TORQUE_ALERT_2", "LOW_SPEED_LOCKOUT", "TJA_LOW_SPEED_LOCKOUT",
99+
"TMP_FAULT")
99100
if self.CP.carFingerprint in HONDA_BOSCH_ALT_RADAR:
100101
# TODO: See if this logic works for all other Honda
101102
min_steer_speed = max(CarControllerParams.STEER_GLOBAL_MIN_SPEED, self.CP.minSteerSpeed)

0 commit comments

Comments
 (0)