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

old-commit-hash: 48e10d1f9481fe8aa71c2e0676b168bcd5b89dbf
This commit is contained in:
Adeeb Shihadeh
2023-07-25 16:22:24 -07:00
committed by GitHub
parent 69b4fc489b
commit dcbe0432fa

View File

@@ -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;
}
}
}