|
|
@ -440,7 +440,7 @@ class Controls: |
|
|
|
|
|
|
|
|
|
|
|
# All pandas not in silent mode must have controlsAllowed when openpilot is enabled |
|
|
|
# All pandas not in silent mode must have controlsAllowed when openpilot is enabled |
|
|
|
if self.enabled and any(not ps.controlsAllowed for ps in self.sm['pandaStates'] |
|
|
|
if self.enabled and any(not ps.controlsAllowed for ps in self.sm['pandaStates'] |
|
|
|
if ps.safetyModel not in IGNORED_SAFETY_MODES): |
|
|
|
if ps.safetyModel not in IGNORED_SAFETY_MODES): |
|
|
|
self.mismatch_counter += 1 |
|
|
|
self.mismatch_counter += 1 |
|
|
|
|
|
|
|
|
|
|
|
return CS |
|
|
|
return CS |
|
|
|