mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 18:52:46 +08:00
navigator: fix typo
This commit is contained in:
@@ -182,7 +182,7 @@ MissionBlock::is_mission_item_reached()
|
||||
|
||||
float altitude_acceptance_radius = _navigator->get_altitude_acceptance_radius();
|
||||
|
||||
/* It should be safe to juse use half of the takoeff_alt as an acceptance radius. */
|
||||
/* It should be safe to just use half of the takoeff_alt as an acceptance radius. */
|
||||
if (takeoff_alt > 0 && takeoff_alt < altitude_acceptance_radius) {
|
||||
altitude_acceptance_radius = takeoff_alt / 2.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user