FlightTaskManualAltitude: fix comment

This commit is contained in:
Dennis Mannhart
2018-05-22 13:14:30 +02:00
committed by Lorenz Meier
parent 414f38b677
commit 3ea7f8783f
@@ -77,7 +77,7 @@ void FlightTaskManualAltitude::_updateAltitudeLock()
} else {
// altitude based on locale coordinate system
_dist_to_ground_lock = NAN; // reset boolean since not used
_dist_to_ground_lock = NAN; // reset since not used
if (apply_brake && stopped && !PX4_ISFINITE(_position_setpoint(2))) {
// lock position