boardd: add flag to skip fw version check (#29142)

pull/29145/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent 2a027b9179
commit 48e10d1f94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      selfdrive/boardd/boardd.cc

@ -199,7 +199,7 @@ Panda *connect(std::string serial="", uint32_t index=0) {
}
//panda->enable_deepsleep();
if (!panda->up_to_date()) {
if (!panda->up_to_date() && !getenv("BOARDD_SKIP_FW_CHECK")) {
throw std::runtime_error("Panda firmware out of date. Run pandad.py to update.");
}
@ -655,4 +655,4 @@ void boardd_main_thread(std::vector<std::string> serials) {
for (Panda *panda : pandas) {
delete panda;
}
}
}

Loading…
Cancel
Save