Skip to content

Commit

Permalink
Copter: fix tradheli acro copy-paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
bnsgeyer committed Nov 26, 2024
1 parent e65b5a5 commit d42b201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduCopter/mode_acro_heli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void ModeAcro_Heli::run()
// THEN set target heading to current and reset the integrator
// Otherwise motors could be at ground idle for practice autorotation
if ((motors->init_targets_on_arming() && motors->using_leaky_integrator()) || (copter.ap.land_complete && !motors->using_leaky_integrator())) {
attitude_control->reset_yaw_target_and_rate(false);
attitude_control->reset_target_and_rate(false);
attitude_control->reset_rate_controller_I_terms_smoothly();
}
break;
Expand Down

0 comments on commit d42b201

Please sign in to comment.