clear controls ready flag on falling edge of ignition (#20807)

pull/20813/head
Adeeb Shihadeh 4 years ago committed by GitHub
parent 0b4d28b9d6
commit 6954eb6259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/boardd/boardd.cc

@ -324,6 +324,8 @@ void panda_state_thread(bool spoofing_started) {
assert((result == 0) || (result == ERR_NO_VALUE));
result = params.remove("CarParams");
assert((result == 0) || (result == ERR_NO_VALUE));
result = params.remove("ControlsReady");
assert((result == 0) || (result == ERR_NO_VALUE));
if (!safety_setter_thread_running) {
safety_setter_thread_running = true;

Loading…
Cancel
Save