Skip to content

Commit

Permalink
Panda Fix 4
Browse files Browse the repository at this point in the history
  • Loading branch information
hoomoose committed Nov 4, 2024
1 parent 4235b58 commit 88fbc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_hyundai_canfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ static bool hyundai_canfd_tx_hook(const CANPacket_t *to_send) {
// 2m/s margin
if ((hyundai_canfd_front_left_vego < (11.f + 2.f)) || (hyundai_canfd_rear_right_vego < (11.f + 2.f))) {

if (steer_torque_cmd_checks(desired_torque, HYUNDAI_CANFD_STEERING_LIMITS)) {
if (max_limit_check(desired_torque, 400, -400)) {
tx = false;
}
} else {
Expand Down

0 comments on commit 88fbc3b

Please sign in to comment.