From 0ed0456d4d34ae6d46df08a2c7e89554f7339674 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 22 Mar 2023 22:09:37 -0700 Subject: [PATCH] comments --- panda | 2 +- selfdrive/boardd/boardd.cc | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/panda b/panda index d70fa4e120..70feeb8c58 160000 --- a/panda +++ b/panda @@ -1 +1 @@ -Subproject commit d70fa4e1200ad47c66587c78fd90030a3be1cc43 +Subproject commit 70feeb8c58e14aace133ca65b8d83c7e8954d05a diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index 09e8285318..3dc54b856a 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -113,14 +113,13 @@ bool safety_setter_thread(std::vector pandas) { return false; } - // set to ELM327 without OBD multiplexing for fingerprinting + // initialize to ELM327 without OBD multiplexing for fingerprinting bool obd_multiplexing_enabled = false; for (int i = 0; i < pandas.size(); i++) { pandas[i]->set_safety_model(cereal::CarParams::SafetyModel::ELM327, 1U); } - // openpilot can switch between multiplexing modes for different FW queries, - // set to ELM327 and wait for FW query to finish + // openpilot can switch between multiplexing modes for different FW queries while (true) { if (do_exit || !check_all_connected(pandas) || !ignition) { return false;