mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 20:12:07 +08:00
boardd: use std::atomic for ignition to ensure thread-safety (#19882)
old-commit-hash: 83003bdeac6ff082124b3e5a2f1fdda2644cb228
This commit is contained in:
@@ -38,10 +38,10 @@
|
||||
|
||||
Panda * panda = NULL;
|
||||
std::atomic<bool> safety_setter_thread_running(false);
|
||||
std::atomic<bool> ignition(false);
|
||||
bool spoofing_started = false;
|
||||
bool fake_send = false;
|
||||
bool connected_once = false;
|
||||
bool ignition = false;
|
||||
|
||||
ExitHandler do_exit;
|
||||
struct tm get_time(){
|
||||
|
||||
Reference in New Issue
Block a user