mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 05:22:07 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user