boardd: add note about slow disconnected panda check

pull/22999/head
Adeeb Shihadeh 4 years ago
parent fb32381a88
commit a405fc5d43
  1. 1
      selfdrive/boardd/boardd.cc

@ -425,6 +425,7 @@ void panda_state_thread(PubMaster *pm, std::vector<Panda *> pandas, bool spoofin
send_peripheral_state(pm, peripheral_panda);
ignition = send_panda_states(pm, pandas, spoofing_started);
// TODO: make this check fast, currently takes 16ms
// check if we have new pandas and are offroad
if (!ignition && (pandas.size() != Panda::list().size())) {
LOGW("Reconnecting to changed amount of pandas!");

Loading…
Cancel
Save