Skip to content

Commit

Permalink
ArduPlane: TECS now has takeoff settings setter
Browse files Browse the repository at this point in the history
  • Loading branch information
Georacer committed Jul 3, 2024
1 parent 2f7a276 commit da50d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduPlane/takeoff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void Plane::takeoff_calc_throttle() {
max_throttle = aparm.takeoff_throttle_max * 0.01f;
}
// This setting will take effect at the next run of TECS::update_pitch_throttle().
TECS_controller.set_throttle_min(max_throttle);
TECS_controller.set_min_throttle(max_throttle);

calc_throttle();
}
Expand Down

0 comments on commit da50d25

Please sign in to comment.