We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4359e9 commit bb8a5bdCopy full SHA for bb8a5bd
selfdrive/ui/mici/layouts/onboarding.py
@@ -166,8 +166,8 @@ def show_event(self):
166
167
def _update_state(self):
168
super()._update_state()
169
- if device.awake:
170
- ui_state.params.put_bool("IsDriverViewEnabled", True)
+ if device.awake and not ui_state.params.get_bool("IsDriverViewEnabled"):
+ ui_state.params.put_bool_nonblocking("IsDriverViewEnabled", True)
171
172
sm = ui_state.sm
173
if sm.recv_frame.get("driverMonitoringState", 0) == 0:
0 commit comments