From dd0bb7c55ca19c63b819fd7c97b59d5bf611b83e Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Wed, 15 Nov 2017 21:54:32 -0500 Subject: [PATCH] A3XX: FMGC: Fix HDG-TRK selecting Tru Heading --- Nasal/FMGC-b.nas | 12 ++++++------ Systems/fmgc-drivers.xml | 2 +- revision.txt | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Nasal/FMGC-b.nas b/Nasal/FMGC-b.nas index b1663a54..0a5a8777 100644 --- a/Nasal/FMGC-b.nas +++ b/Nasal/FMGC-b.nas @@ -25,8 +25,8 @@ setlistener("/sim/signals/fdm-initialized", func { }); var APinit = func { - setprop("/instrumentation/efis[0]/mfd/true-north", 0); - setprop("/instrumentation/efis[1]/mfd/true-north", 0); + setprop("/instrumentation/efis[0]/trk-selected", 0); + setprop("/instrumentation/efis[1]/trk-selected", 0); setprop("/it-autoflight/custom/trk-fpa", 0); setprop("/it-autoflight/input/kts-mach", 0); setprop("/it-autoflight/input/ap1", 0); @@ -496,8 +496,8 @@ var trkfpa_off = func { setprop("/it-autoflight/input/vert", 1); } setprop("/it-autoflight/input/trk", 0); - setprop("/instrumentation/efis[0]/mfd/true-north", 0); - setprop("/instrumentation/efis[1]/mfd/true-north", 0); + setprop("/instrumentation/efis[0]/trk-selected", 0); + setprop("/instrumentation/efis[1]/trk-selected", 0); var hed = getprop("/it-autoflight/internal/heading-error-deg"); if (hed >= -10 and hed <= 10 and getprop("/it-autoflight/output/lat") == 0) { setprop("/it-autoflight/input/lat", 3); @@ -510,8 +510,8 @@ var trkfpa_on = func { setprop("/it-autoflight/input/vert", 5); } setprop("/it-autoflight/input/trk", 1); - setprop("/instrumentation/efis[0]/mfd/true-north", 1); - setprop("/instrumentation/efis[1]/mfd/true-north", 1); + setprop("/instrumentation/efis[0]/trk-selected", 1); + setprop("/instrumentation/efis[1]/trk-selected", 1); var hed = getprop("/it-autoflight/internal/heading-error-deg"); if (hed >= -10 and hed <= 10 and getprop("/it-autoflight/output/lat") == 0) { setprop("/it-autoflight/input/lat", 3); diff --git a/Systems/fmgc-drivers.xml b/Systems/fmgc-drivers.xml index 87482617..f6886360 100644 --- a/Systems/fmgc-drivers.xml +++ b/Systems/fmgc-drivers.xml @@ -33,7 +33,7 @@ 1 - /orientation/heading-deg + /orientation/track-magnetic-deg /it-autoflight/internal/heading-5-sec-ahead 5.0 diff --git a/revision.txt b/revision.txt index 4a5de231..c09fb911 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4002 \ No newline at end of file +4003 \ No newline at end of file