From b7d6595fa4802586e5a528e3652181a281c27c44 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 11 May 2022 14:20:34 -0700 Subject: [PATCH] remove now unused LastPeripheralPandaType param old-commit-hash: 67e60efd18155b80384ca9f161fb2a78e8735113 --- selfdrive/boardd/boardd.cc | 2 -- selfdrive/common/params.cc | 1 - 2 files changed, 3 deletions(-) diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index 4af69ec271..fdce7bab5f 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -646,8 +646,6 @@ void boardd_main_thread(std::vector serials) { Panda *peripheral_panda = pandas[0]; std::vector 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); diff --git a/selfdrive/common/params.cc b/selfdrive/common/params.cc index c294c48dfe..f3c599a36a 100644 --- a/selfdrive/common/params.cc +++ b/selfdrive/common/params.cc @@ -132,7 +132,6 @@ std::unordered_map 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},