remove now unused LastPeripheralPandaType param

old-commit-hash: 67e60efd18
taco
Adeeb Shihadeh 3 years ago
parent 49cd879976
commit b7d6595fa4
  1. 2
      selfdrive/boardd/boardd.cc
  2. 1
      selfdrive/common/params.cc

@ -646,8 +646,6 @@ void boardd_main_thread(std::vector<std::string> serials) {
Panda *peripheral_panda = pandas[0];
std::vector<std::thread> threads;
Params().put("LastPeripheralPandaType", std::to_string((int) peripheral_panda->get_hw_type()));
threads.emplace_back(panda_state_thread, &pm, pandas, getenv("STARTED") != nullptr);
threads.emplace_back(peripheral_control_thread, peripheral_panda);
threads.emplace_back(pigeon_thread, peripheral_panda);

@ -132,7 +132,6 @@ std::unordered_map<std::string, uint32_t> keys = {
{"LastAthenaPingTime", CLEAR_ON_MANAGER_START},
{"LastGPSPosition", PERSISTENT},
{"LastManagerExitReason", CLEAR_ON_MANAGER_START},
{"LastPeripheralPandaType", PERSISTENT},
{"LastPowerDropDetected", CLEAR_ON_MANAGER_START},
{"LastSystemShutdown", CLEAR_ON_MANAGER_START},
{"LastUpdateException", CLEAR_ON_MANAGER_START},

Loading…
Cancel
Save