mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-25 09:42:05 +08:00
should be the whole class
This commit is contained in:
@@ -8,5 +8,5 @@ from openpilot.sunnypilot.mads.mads import MadsParams
|
||||
class CarStateBaseSP(ABC):
|
||||
def __init__(self, CP: structs.CarParams):
|
||||
self.alt_button = 0
|
||||
self.mads_enabled_toggle = MadsParams.read_enabled_param()
|
||||
self.mads_enabled_toggle = MadsParams().read_enabled_param()
|
||||
self.button_events: list[structs.CarState.ButtonEvent] = []
|
||||
|
||||
Reference in New Issue
Block a user