pull/27656/head
Shane Smiskol 2 years ago
parent 8dfeb5700e
commit 0ed0456d4d
  1. 2
      panda
  2. 5
      selfdrive/boardd/boardd.cc

@ -1 +1 @@
Subproject commit d70fa4e1200ad47c66587c78fd90030a3be1cc43 Subproject commit 70feeb8c58e14aace133ca65b8d83c7e8954d05a

@ -113,14 +113,13 @@ bool safety_setter_thread(std::vector<Panda *> pandas) {
return false; return false;
} }
// set to ELM327 without OBD multiplexing for fingerprinting // initialize to ELM327 without OBD multiplexing for fingerprinting
bool obd_multiplexing_enabled = false; bool obd_multiplexing_enabled = false;
for (int i = 0; i < pandas.size(); i++) { for (int i = 0; i < pandas.size(); i++) {
pandas[i]->set_safety_model(cereal::CarParams::SafetyModel::ELM327, 1U); pandas[i]->set_safety_model(cereal::CarParams::SafetyModel::ELM327, 1U);
} }
// openpilot can switch between multiplexing modes for different FW queries, // openpilot can switch between multiplexing modes for different FW queries
// set to ELM327 and wait for FW query to finish
while (true) { while (true) {
if (do_exit || !check_all_connected(pandas) || !ignition) { if (do_exit || !check_all_connected(pandas) || !ignition) {
return false; return false;

Loading…
Cancel
Save