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

pull/23254/head^2
Dean Lee 3 years ago committed by GitHub
parent f239a50f4e
commit d3505fb8c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/monitoring/dmonitoringd.py

@ -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']:

Loading…
Cancel
Save