Skip to content

Commit

Permalink
Panda Fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
hoomoose committed Nov 4, 2024
1 parent 00f0a90 commit 4235b58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions board/safety/safety_hyundai_canfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,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))) {
bool violation = false;


if (steer_torque_cmd_checks(desired_torque, HYUNDAI_CANFD_STEERING_LIMITS)) {
tx = false;
}
Expand Down

0 comments on commit 4235b58

Please sign in to comment.