mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-23 06:52:07 +08:00
boardd: use std::atomic for ignition to ensure thread-safety (#19882)
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