dmonitoringd: remove duplicate call on update when driver engaged (#23539)

This commit is contained in:
Dean Lee
2022-01-19 10:27:21 +08:00
committed by GitHub
parent f239a50f4e
commit d3505fb8c7
-2
View File
@@ -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']: