Skip to content

Commit

Permalink
fix occasional LKAS error
Browse files Browse the repository at this point in the history
  • Loading branch information
visualage committed Feb 29, 2024
1 parent a1df079 commit 5be8a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_defaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ int default_rx_hook(CAN_FIFOMailBox_TypeDef *to_push) {
}

if (counter_658 > 0) {
counter_284_658 += 2;
counter_284_658 += 1;
if (counter_284_658 - counter_658 > 25){
is_op_active = false;
steer_type = 3;
Expand Down

0 comments on commit 5be8a35

Please sign in to comment.