boardd: add flag to skip fw version check (#29142)
old-commit-hash: 48e10d1f9481fe8aa71c2e0676b168bcd5b89dbf
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user