Copter: TradHeli - minor code format fix

This commit is contained in:
ChristopherOlson 2019-03-18 17:33:23 -05:00 committed by Randy Mackay
parent 0c64cdc565
commit 8d43e828cf
1 changed files with 2 additions and 2 deletions

View File

@ -72,9 +72,9 @@ void Copter::ModeAcro_Heli::run()
get_pilot_desired_angle_rates(channel_roll->get_control_in(), channel_pitch->get_control_in(), channel_yaw->get_control_in(), target_roll, target_pitch, target_yaw);
if (g.acro_trainer == ACRO_TRAINER_DISABLED) {
if (ap.land_complete) {
virtual_flybar(target_roll, target_pitch, target_yaw, 3.0f, 3.0f)
virtual_flybar(target_roll, target_pitch, target_yaw, 3.0f, 3.0f);
} else {
virtual_flybar(target_roll, target_pitch, target_yaw, g.acro_balance_pitch, g.acro_balance_roll)
virtual_flybar(target_roll, target_pitch, target_yaw, g.acro_balance_pitch, g.acro_balance_roll);
}
}
if (motors->supports_yaw_passthrough()) {