diff --git a/selfdrive/boardd/panda.h b/selfdrive/boardd/panda.h index f5c2f83af6..b1f5e70879 100644 --- a/selfdrive/boardd/panda.h +++ b/selfdrive/boardd/panda.h @@ -52,7 +52,7 @@ class Panda { Panda(); ~Panda(); - bool connected = true; + std::atomic connected = true; cereal::HealthData::HwType hw_type = cereal::HealthData::HwType::UNKNOWN; bool is_pigeon = false; bool has_rtc = false;