don't show giraffe alert with relay (#2335)

* who has a giraffe still?

* not black
pull/2336/head
Adeeb Shihadeh 5 years ago committed by GitHub
parent ce85e402f4
commit 6bc6db5f7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/car/toyota/interface.py

@ -317,7 +317,7 @@ class CarInterface(CarInterfaceBase):
# events
events = self.create_common_events(ret)
if self.cp_cam.can_invalid_cnt >= 200 and self.CP.enableCamera:
if self.cp_cam.can_invalid_cnt >= 200 and self.CP.enableCamera and not self.CP.isPandaBlack:
events.add(EventName.invalidGiraffeToyota)
if self.CS.low_speed_lockout and self.CP.openpilotLongitudinalControl:
events.add(EventName.lowSpeedLockout)

Loading…
Cancel
Save