Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh authored and sshane committed May 30, 2024
1 parent dd18ccb commit 01b598e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfdrive/boardd/boardd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ void panda_state_thread(std::vector<Panda *> pandas, bool spoofing_started) {
rk.keepTime();
}

// reset the safety mode to avoid faulting the car
if (is_onroad && !engaged) {
for (auto &p : pandas) {
p->set_safety_model(cereal::CarParams::SafetyModel::NO_OUTPUT);
Expand Down

0 comments on commit 01b598e

Please sign in to comment.