From 31ccaa11ab4639fdcf312caf5d5d5dc7f8e71d30 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Tue, 22 Aug 2023 00:41:17 +0800 Subject: [PATCH] boardd: keepTime after failing to get `ignition_opt` (#29506) * keep time after failing to get ignition_opt * Update selfdrive/boardd/boardd.cc --------- Co-authored-by: Adeeb Shihadeh old-commit-hash: 71d8f41ed8fd8644b44420b4f695c5f4ac820e30 --- selfdrive/boardd/boardd.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index 20c2800e8e..6a19f6d593 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -480,6 +480,8 @@ void panda_state_thread(std::vector pandas, bool spoofing_started) { auto ignition_opt = send_panda_states(&pm, pandas, spoofing_started); if (!ignition_opt) { + LOGE("Failed to get ignition_opt"); + rk.keepTime(); continue; }