From 3627c5c7f6d6f04695006d1f1b5ec79b10fdbe7f Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 17 May 2023 22:19:35 -0700 Subject: [PATCH] boardd: log when sendcan is dropped (#28224) * log when we drop sendcan * log both * i don't want to touch that * llu * noo old-commit-hash: c722120a88ece813615a4cb397dedfefd9ff0d27 --- selfdrive/boardd/boardd.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index 0c19d1eb08..6248da7d4b 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -232,6 +232,8 @@ void can_send_thread(std::vector pandas, bool fake_send) { panda->can_send(event.getSendcan()); LOGT("sendcan sent to panda: %s", (panda->hw_serial()).c_str()); } + } else { + LOGE("sendcan too old to send: %llu, %llu", nanos_since_boot(), event.getLogMonoTime()); } } }