We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12cd852 commit 7198018Copy full SHA for 7198018
selfdrive/boardd/boardd.cc
@@ -610,11 +610,11 @@ void pigeon_thread(Panda *panda) {
610
}
611
612
void boardd_main_thread(std::vector<std::string> serials) {
613
- if (serials.size() == 0) serials.push_back("");
614
-
615
PubMaster pm({"pandaStates", "peripheralState"});
616
LOGW("attempting to connect");
617
+ if (serials.size() == 0) serials = Panda::list();
+
618
// connect to all provided serials
619
std::vector<Panda *> pandas;
620
for (int i = 0; i < serials.size() && !do_exit; /**/) {
0 commit comments