    }
  }
  
  void boardd_main_thread(std::vector<std::string> serials) {
    PubMaster pm({"pandaStates", "peripheralState"});
    LOGW("attempting to connect");
  
    if (serials.size() == 0) {
      // connect to all
      serials = Panda::list();
  
 
</s> remove     // connect to all
 </s> add  </s> remove     // exit if no pandas are connected
 </s> add  </s> remove       if (fan_speed != prev_fan_speed || cnt % 100 == 0) {
 </s> add       if (fan_speed != prev_fan_speed || sm.frame % 100 == 0) {
  LOGW("launching boardd");
    }
  }
  
  void boardd_main_thread(std::vector<std::string> serials) {
  LOGW("launching boardd");
  LOGW("launching boardd");
  
    if (serials.size() == 0) {
      // connect to all
      serials = Panda::list();
  
keep keep keep keep replace replace keep keep keep keep keep
 boardd: misc cleanup (#28969)

* boardd cleanup

* no more front frame

* faster connect loop

* fix that on mac 
selfdrive/boardd/boardd.cc