1
0
Fork 0

Post-discontinuity - prevent GPS log spam

This commit is contained in:
Jonathan Redpath 2022-05-15 22:58:12 +01:00
parent 285da1f974
commit ec1c5142ec

View file

@ -128,6 +128,8 @@ var A320GPSDelegate = {
if (me._modeProp.getValue() == 'leg') {
if (me.flightplan.nextWP().wp_type == 'discontinuity') {
logprint(LOG_INFO, "default GPS sequencing DISCONTINUITY in flightplan, switching to HDG");
me._captureCurrentCourse();
me._selectOBSMode();
# set HDG mode
} else {
logprint(LOG_INFO, "default GPS sequencing to next WP");