Copter: keep thr-mix at min when landed
This commit is contained in:
parent
bec21a51a4
commit
6b01c1117f
@ -114,8 +114,8 @@ void Copter::set_land_complete_maybe(bool b)
|
|||||||
void Copter::update_throttle_thr_mix()
|
void Copter::update_throttle_thr_mix()
|
||||||
{
|
{
|
||||||
#if FRAME_CONFIG != HELI_FRAME
|
#if FRAME_CONFIG != HELI_FRAME
|
||||||
// if disarmed prioritise throttle
|
// if disarmed or landed prioritise throttle
|
||||||
if(!motors.armed()) {
|
if(!motors.armed() || ap.land_complete) {
|
||||||
motors.set_throttle_mix_min();
|
motors.set_throttle_mix_min();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user