mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-05 02:35:41 +08:00
type hint
This commit is contained in:
@@ -190,7 +190,7 @@ class Car:
|
||||
self.initialized_prev = initialized
|
||||
self.CS_prev = CS.as_reader()
|
||||
|
||||
def sp_params_thread(self, event):
|
||||
def sp_params_thread(self, event: threading.Event) -> None:
|
||||
while not event.is_set():
|
||||
params_list = {
|
||||
"experimental_mode": self.params.get_bool("ExperimentalMode"),
|
||||
|
||||
Reference in New Issue
Block a user