Copter: update pos_control's hover throttle

This commit is contained in:
Randy Mackay 2013-12-29 17:26:39 +09:00 committed by Andrew Tridgell
parent 33552b63d8
commit 7784fc7645

View File

@ -776,6 +776,8 @@ static void update_throttle_cruise(int16_t throttle)
throttle_avg = throttle_avg * 0.99f + (float)throttle * 0.01f;
g.throttle_cruise = throttle_avg;
}
// update position controller
pos_control.set_throttle_hover(throttle_avg);
}
#if FRAME_CONFIG == HELI_FRAME