From ec1c5142ec46a13e82606b0c03751c91451d6a76 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Sun, 15 May 2022 22:58:12 +0100 Subject: [PATCH] Post-discontinuity - prevent GPS log spam --- Nasal/FMGC/flightplan-delegates.nas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Nasal/FMGC/flightplan-delegates.nas b/Nasal/FMGC/flightplan-delegates.nas index 2bf1709a..89bf33c8 100644 --- a/Nasal/FMGC/flightplan-delegates.nas +++ b/Nasal/FMGC/flightplan-delegates.nas @@ -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");