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 <adeebshihadeh@gmail.com>
old-commit-hash: 71d8f41ed8fd8644b44420b4f695c5f4ac820e30
This commit is contained in:
Dean Lee
2023-08-22 00:41:17 +08:00
committed by GitHub
parent 29977caa45
commit 31ccaa11ab
+2
View File
@@ -480,6 +480,8 @@ void panda_state_thread(std::vector<Panda *> 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;
}