We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a8c3fe commit ef9a4fbCopy full SHA for ef9a4fb
opendbc/car/honda/carstate.py
@@ -216,7 +216,7 @@ def update(self, can_parsers) -> structs.CarState:
216
ret.steeringPressed = abs(ret.steeringTorque) > STEER_THRESHOLD.get(self.CP.carFingerprint, 1200)
217
218
# is_metric_cruise is used for cruise speed display
219
- if self.CP.carFingerprint in HONDA_BOSCH_RADARLESS
+ if self.CP.carFingerprint in HONDA_BOSCH_RADARLESS:
220
if "ACC_HUD" in cp_cam.vl:
221
self.is_metric_cruise = self.is_metric if cp_cam.vl["ACC_HUD"]["CRUISE_SPEED"] >= 253 else not cp_cam.vl["ACC_HUD"]["IMPERIAL_UNIT"]
222
else:
0 commit comments