Skip to content

Commit

Permalink
fail fl420 and 430
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieernest committed Oct 15, 2023
1 parent cb8d568 commit 1e0f365
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VFPC/analyzeFP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ map<string, string> CVFPCPlugin::validizeSid(CFlightPlan flightPlan) {
string direction = conditions[i]["direction"].GetString();
boost::to_upper(direction);
if (direction == "EVEN") {
if (fmod(RFL, 2000) == 0) {
if (fmod(RFL, 2000) == 0 && RFL != 42000) {
returnValid["DIRECTION"] = "Even FLs (Passed) / ";
passed[3] = true;
}
Expand All @@ -297,7 +297,7 @@ map<string, string> CVFPCPlugin::validizeSid(CFlightPlan flightPlan) {
}
}
else if (direction == "ODD") {
if (fmod(RFL, 2000) == 1000) {
if (fmod(RFL, 2000) == 1000 && RFL != 43000) {
returnValid["DIRECTION"] = "Odd FLs (Passed) / ";
passed[3] = true;
}
Expand Down

0 comments on commit 1e0f365

Please sign in to comment.