navigator: MissionFeasibility: rename checkFixedWindLandApproach() (#26603)

* navigator:MissionFeasibility rename checkFixedWindLandApproach() to checkFixedWingLandApproach()

Renames checkFixedWindLandApproach() to checkFixedWingLandApproach() to fix a typo in the function name.

This improves code readability and makes the function name consistent with the intended FixedWing landing approach logic, without changing behavior.

* navigator:MissionFeasibility rename checkFixedWindLandApproach() to checkFixedWingLandApproach()

Renames checkFixedWindLandApproach() to checkFixedWingLandApproach() to fix a typo in the function name.

This improves code readability and makes the function name consistent with the intended FixedWing landing approach logic, without changing behavior.
This commit is contained in:
MaZeNHeKaL29
2026-03-03 00:24:41 +02:00
committed by GitHub
parent 9cb3ea44fb
commit 6bf4745144
2 changed files with 3 additions and 3 deletions
@@ -215,7 +215,7 @@ void FeasibilityChecker::doFixedWingChecks(mission_item_s &mission_item, const i
} }
if (!_checks_failed.flags.fixed_wing_land_approach_failed) { if (!_checks_failed.flags.fixed_wing_land_approach_failed) {
_checks_failed.flags.fixed_wing_land_approach_failed = !checkFixedWindLandApproach(mission_item, current_index); _checks_failed.flags.fixed_wing_land_approach_failed = !checkFixedWingLandApproach(mission_item, current_index);
} }
} }
@@ -378,7 +378,7 @@ bool FeasibilityChecker::checkTakeoff(mission_item_s &mission_item)
return true; return true;
} }
bool FeasibilityChecker::checkFixedWindLandApproach(mission_item_s &mission_item, const int current_index) bool FeasibilityChecker::checkFixedWingLandApproach(mission_item_s &mission_item, const int current_index)
{ {
if (mission_item.nav_cmd == NAV_CMD_LAND && current_index > 0) { if (mission_item.nav_cmd == NAV_CMD_LAND && current_index > 0) {
@@ -201,7 +201,7 @@ private:
* @param current_index The current mission index * @param current_index The current mission index
* @return False if the check failed. * @return False if the check failed.
*/ */
bool checkFixedWindLandApproach(mission_item_s &mission_item, const int current_index); bool checkFixedWingLandApproach(mission_item_s &mission_item, const int current_index);
// methods which are called once at the end // methods which are called once at the end
/** /**