mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Plane: fixed bug in TRIM_AUTO
fixed trim for differential spoilers
This commit is contained in:
parent
4124d371c9
commit
1a207c919b
@ -325,7 +325,7 @@ void Plane::trim_control_surfaces()
|
||||
SRV_Channels::set_trim_to_servo_out_for(SRV_Channel::k_dspoilerLeft1);
|
||||
SRV_Channels::set_trim_to_servo_out_for(SRV_Channel::k_dspoilerLeft2);
|
||||
SRV_Channels::set_trim_to_servo_out_for(SRV_Channel::k_dspoilerRight1);
|
||||
SRV_Channels::set_trim_to_servo_out_for(SRV_Channel::k_dspoilerRight1);
|
||||
SRV_Channels::set_trim_to_servo_out_for(SRV_Channel::k_dspoilerRight2);
|
||||
}
|
||||
|
||||
if (SRV_Channels::get_output_scaled(SRV_Channel::k_flap_auto) == 0 &&
|
||||
|
Loading…
Reference in New Issue
Block a user