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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -215,7 +215,7 @@ void FeasibilityChecker::doFixedWingChecks(mission_item_s &mission_item, const i
}
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;
}
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) {

View File

@ -201,7 +201,7 @@ private:
* @param current_index The current mission index
* @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
/**