Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1318 from billtt/CJ4-FMC-FplnRecall-SkipErrorWpt
Browse files Browse the repository at this point in the history
Skip unrecognized waypoints when importing Flightplan from SimBrief
  • Loading branch information
dga711 authored Aug 8, 2021
2 parents c3815d8 + 5114565 commit 092de24
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,11 @@ class CJ4_FMC_FplnRecallPage {
addWaypoint();
}
else {
fmc.flightPlanManager.resumeSync();
// Skip incorrect waypoints and continue
// fmc.flightPlanManager.resumeSync();
fmc.setMsg("ERROR WPT " + icao + "[red]");
// Continue adding the rest waypoints after displaying error message for 2 seconds
setTimeout(addWaypoint, 2000);
}

});
Expand Down

0 comments on commit 092de24

Please sign in to comment.