mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Copter: no update_throttle_thr_mix for TradHeli
This commit is contained in:
parent
5baf98bcfc
commit
4cacff54b4
@ -113,6 +113,7 @@ void Copter::set_land_complete_maybe(bool b)
|
|||||||
// has no effect when throttle is above hover throttle
|
// has no effect when throttle is above hover throttle
|
||||||
void Copter::update_throttle_thr_mix()
|
void Copter::update_throttle_thr_mix()
|
||||||
{
|
{
|
||||||
|
#if FRAME_CONFIG != HELI_FRAME
|
||||||
// if disarmed prioritise throttle
|
// if disarmed prioritise throttle
|
||||||
if(!motors.armed()) {
|
if(!motors.armed()) {
|
||||||
motors.set_throttle_mix_min();
|
motors.set_throttle_mix_min();
|
||||||
@ -151,4 +152,5 @@ void Copter::update_throttle_thr_mix()
|
|||||||
motors.set_throttle_mix_min();
|
motors.set_throttle_mix_min();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user