controlsd: remove duplicate event relayMalfunction (#23392)

This commit is contained in:
Dean Lee
2022-01-05 06:07:36 +08:00
committed by GitHub
parent 7257f71739
commit 0357cf2af0
-3
View File
@@ -294,9 +294,6 @@ class Controls:
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