FlightTaskManualAltitude: yawspeed filter remove line with no effect, comments

FlightTaskManualAltitude: declaration order

Addressing @bkueng's review comments.
This commit is contained in:
Matthias Grob
2019-11-20 17:48:42 +01:00
committed by Mathieu Bresciani
parent cd2b5e7479
commit 4a28c8180b
2 changed files with 8 additions and 3 deletions

View File

@@ -328,7 +328,6 @@ void FlightTaskManualAltitude::_lockYaw()
// hold the current heading when no more rotation commanded
if (!PX4_ISFINITE(_yaw_setpoint)) {
_yaw_setpoint = _yaw;
_yawspeed_setpoint = NAN;
}
}