mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 14:16:39 +08:00
clear controls ready flag on falling edge of ignition (#20807)
old-commit-hash: 6954eb62595474d6f1e974f1cdcad72e79d1fe5d
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user