Plane: minor format and comment fixes

This commit is contained in:
Leonard Hall 2021-05-12 13:32:13 +09:00 committed by Andrew Tridgell
parent a780759221
commit 1ce63bf433
1 changed files with 2 additions and 3 deletions

View File

@ -1075,7 +1075,6 @@ void QuadPlane::control_stabilize(void)
// normal QSTABILIZE mode
float pilot_throttle_scaled = get_pilot_throttle();
hold_stabilize(pilot_throttle_scaled);
}
// run the multicopter Z controller
@ -1789,7 +1788,7 @@ void QuadPlane::update_transition(void)
// the quad should provide some assistance to the plane
assisted_flight = true;
if (!is_tailsitter()) {
// update tansition state for vehicles using airspeed wait
// update transition state for vehicles using airspeed wait
if (transition_state != TRANSITION_AIRSPEED_WAIT) {
gcs().send_text(MAV_SEVERITY_INFO, "Transition started airspeed %.1f", (double)aspeed);
}
@ -1950,7 +1949,7 @@ void QuadPlane::update_transition(void)
}
case TRANSITION_ANGLE_WAIT_VTOL:
// nothing to do, this is handled in the fw attitude controller
// nothing to do, this is handled in the fixed wing attitude controller
return;
case TRANSITION_DONE: