Skip to content

Commit

Permalink
controlsd: remove duplicate event relayMalfunction (commaai#23392)
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee authored Jan 4, 2022
1 parent 7257f71 commit 0357cf2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions selfdrive/controls/controlsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,6 @@ def update_events(self, CS):
self.events.add(EventName.posenetInvalid)
if not self.sm['liveLocationKalman'].deviceStable:
self.events.add(EventName.deviceFalling)
for pandaState in self.sm['pandaStates']:
if log.PandaState.FaultType.relayMalfunction in pandaState.faults:
self.events.add(EventName.relayMalfunction)

if not REPLAY:
# Check for mismatch between openpilot and car's PCM
Expand Down

0 comments on commit 0357cf2

Please sign in to comment.