mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 16:26:14 +08:00
dmonitoringd: remove duplicate call on update when driver engaged (#23539)
This commit is contained in:
@@ -44,8 +44,6 @@ def dmonitoringd_thread(sm=None, pm=None):
|
||||
v_cruise != v_cruise_last or \
|
||||
sm['carState'].steeringPressed or \
|
||||
sm['carState'].gasPressed
|
||||
if driver_engaged:
|
||||
driver_status.update(Events(), True, sm['controlsState'].enabled, sm['carState'].standstill)
|
||||
v_cruise_last = v_cruise
|
||||
|
||||
if sm.updated['modelV2']:
|
||||
|
||||
Reference in New Issue
Block a user