mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-17 10:10:35 +08:00
FlightTaskManualAltitude: fix comment
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user