Plane: fixed bug in TRIM_AUTO

fixed trim for differential spoilers
This commit is contained in:
Andrew Tridgell 2017-08-26 20:16:00 +10:00
parent 4124d371c9
commit 1a207c919b
1 changed files with 1 additions and 1 deletions

View File

@ -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 &&