boardd: add note about slow disconnected panda check

pull/22999/head
Adeeb Shihadeh 2021-11-21 00:32:05 -08:00
parent fb32381a88
commit a405fc5d43
1 changed files with 1 additions and 0 deletions

View File

@ -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!");