boardd: add note about slow disconnected panda check
parent
fb32381a88
commit
a405fc5d43
|
@ -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…
Reference in New Issue