mirror of https://github.com/commaai/openpilot.git
add comment
This commit is contained in:
parent
331c925ece
commit
54fb666050
|
@ -145,6 +145,7 @@ def manager_thread() -> None:
|
|||
|
||||
started = sm['deviceState'].started
|
||||
|
||||
# clear onroad-transition-based params
|
||||
if started and not started_prev:
|
||||
params.clear_all(ParamKeyType.CLEAR_ON_ONROAD_TRANSITION)
|
||||
elif not started and started_prev:
|
||||
|
|
Loading…
Reference in New Issue