From c99299af1f1bf275fe8ec06fc96a81292684986e Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Wed, 13 Nov 2024 12:56:42 -0500 Subject: [PATCH] no longer needed --- selfdrive/car/card.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/selfdrive/car/card.py b/selfdrive/car/card.py index 222b7847fc..c368dbabb0 100755 --- a/selfdrive/car/card.py +++ b/selfdrive/car/card.py @@ -239,9 +239,6 @@ class Car: # signal pandad to switch to car safety mode self.params.put_bool_nonblocking("ControlsReady", True) - if self.mads_enabled_toggle: - self.CI.mads_enabled = self.sm['selfdriveStateSP'].mads.enabled - if self.sm.all_alive(['carControl']): # send car controls over can now_nanos = self.can_log_mono_time if REPLAY else int(time.monotonic() * 1e9)