From a1051d03c6b30d4b3317ef611eed15227678418b Mon Sep 17 00:00:00 2001 From: Matthew Maring <56924612+hayden2000@users.noreply.github.com> Date: Sat, 18 Apr 2020 20:26:44 -0400 Subject: [PATCH] Fix dirto, correct baro display --- Models/Instruments/PFD/PFD.nas | 6 +++--- gui/dialogs/mcdu2-dlg.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Models/Instruments/PFD/PFD.nas b/Models/Instruments/PFD/PFD.nas index 177b3453..aa2a4690 100644 --- a/Models/Instruments/PFD/PFD.nas +++ b/Models/Instruments/PFD/PFD.nas @@ -783,7 +783,7 @@ var canvas_PFD_base = { me["AI_agl"].show(); me["FMA_dh_box"].hide(); #not implemented if (getprop("FMGC/internal/radio") != -1) { - me["FMA_dh"].setText("DH"); + me["FMA_dh"].setText("RADIO"); me["FMA_dh"].show(); me["FMA_dhn"].setText(sprintf("%.0f", getprop("FMGC/internal/radio"))); me["FMA_dhn"].show(); @@ -820,7 +820,7 @@ var canvas_PFD_base = { } else if (getprop("FMGC/internal/baro") != -1) { me["FMA_dh"].setText("BARO"); me["FMA_dh"].show(); - me["FMA_dhn"].setText(sprintf("%.0f", getprop("FMGC/internal/radio"))); + me["FMA_dhn"].setText(sprintf("%.0f", getprop("FMGC/internal/baro"))); me["FMA_dhn"].show(); me["FMA_nodh"].hide(); hundredAbove.setValue(getprop("FMGC/internal/baro") + 100); @@ -832,7 +832,7 @@ var canvas_PFD_base = { } #me["dhReached"].hide(); } else if (getprop("FMGC/internal/radio-no")) { - me["FMA_dh"].setText("DH"); + me["FMA_dh"].setText("RADIO"); me["FMA_dh"].show(); me["FMA_dhn"].setText("100"); me["FMA_dhn"].show(); diff --git a/gui/dialogs/mcdu2-dlg.xml b/gui/dialogs/mcdu2-dlg.xml index 8903044d..d1ae9bc5 100644 --- a/gui/dialogs/mcdu2-dlg.xml +++ b/gui/dialogs/mcdu2-dlg.xml @@ -311,7 +311,7 @@ 40 nasal - + systems/electrical/bus/ac-2