mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-22 04:43:44 +08:00
fix cluster enabled
This commit is contained in:
@@ -170,9 +170,8 @@ class Controls:
|
||||
hudControl.leftLaneDepart = self.sm['driverAssistance'].leftLaneDeparture
|
||||
hudControl.rightLaneDepart = self.sm['driverAssistance'].rightLaneDeparture
|
||||
|
||||
sunnypilotParams = CC.sunnypilotParams
|
||||
if self.enable_mads:
|
||||
sunnypilotParams |= SunnypilotParamFlags.ENABLE_MADS.value
|
||||
CC.sunnypilotParams |= SunnypilotParamFlags.ENABLE_MADS.value
|
||||
|
||||
if self.sm['selfdriveState'].active:
|
||||
CO = self.sm['carOutput']
|
||||
|
||||
Reference in New Issue
Block a user