diff --git a/Models/Instruments/PFD/PFD1.xml b/Models/Instruments/PFD/PFD1.xml index 1729597f..c44256ea 100644 --- a/Models/Instruments/PFD/PFD1.xml +++ b/Models/Instruments/PFD/PFD1.xml @@ -2187,16 +2187,26 @@ select pitch-mode-armed-box - - - modes/pfd/fma/pitch-mode-armed-box - 1 - - - modes/pfd/fma/pitch-mode2-armed-box - 1 - - + + + + modes/pfd/fma/pitch-mode-armed-box + 1 + + + modes/pfd/fma/pitch-mode2-armed-box + 1 + + + + modes/pfd/fma/pitch-mode-armed + + + + modes/pfd/fma/pitch-mode2-armed + + + @@ -2215,10 +2225,16 @@ select roll-mode-armed-box - - modes/pfd/fma/roll-mode-armed-box - 1 - + + + modes/pfd/fma/roll-mode-armed-box + 1 + + + modes/pfd/fma/roll-mode-armed + + + diff --git a/Models/Instruments/PFD/PFD2.xml b/Models/Instruments/PFD/PFD2.xml index d354e9bf..b097cb01 100644 --- a/Models/Instruments/PFD/PFD2.xml +++ b/Models/Instruments/PFD/PFD2.xml @@ -2187,16 +2187,26 @@ select pitch-mode-armed-box - - - modes/pfd/fma/pitch-mode-armed-box - 1 - - - modes/pfd/fma/pitch-mode2-armed-box - 1 - - + + + + modes/pfd/fma/pitch-mode-armed-box + 1 + + + modes/pfd/fma/pitch-mode2-armed-box + 1 + + + + modes/pfd/fma/pitch-mode-armed + + + + modes/pfd/fma/pitch-mode2-armed + + + @@ -2215,10 +2225,16 @@ select roll-mode-armed-box - - modes/pfd/fma/roll-mode-armed-box - 1 - + + + modes/pfd/fma/roll-mode-armed-box + 1 + + + modes/pfd/fma/roll-mode-armed + + + diff --git a/Nasal/FMGC-b.nas b/Nasal/FMGC-b.nas index f3142043..b17cd5d7 100644 --- a/Nasal/FMGC-b.nas +++ b/Nasal/FMGC-b.nas @@ -308,6 +308,8 @@ var vertical = func { setprop("/it-autoflight/mode/vert", "ALT HLD"); if (getprop("/it-autoflight/output/loc-armed")) { setprop("/it-autoflight/mode/arm", "LOC"); + } else if (getprop("/it-autoflight/input/lat-arm") == 1) { + setprop("/it-autoflight/mode/arm", "LNV"); } else { setprop("/it-autoflight/mode/arm", " "); } @@ -328,6 +330,8 @@ var vertical = func { setprop("/it-autoflight/mode/vert", "V/S"); if (getprop("/it-autoflight/output/loc-armed")) { setprop("/it-autoflight/mode/arm", "LOC"); + } else if (getprop("/it-autoflight/input/lat-arm") == 1) { + setprop("/it-autoflight/mode/arm", "LNV"); } else { setprop("/it-autoflight/mode/arm", " "); } @@ -381,6 +385,8 @@ var vertical = func { } if (getprop("/it-autoflight/output/loc-armed")) { setprop("/it-autoflight/mode/arm", "LOC"); + } else if (getprop("/it-autoflight/input/lat-arm") == 1) { + setprop("/it-autoflight/mode/arm", "LNV"); } else { setprop("/it-autoflight/mode/arm", " "); } @@ -397,8 +403,10 @@ var vertical = func { setprop("/it-autoflight/input/fpa", fpanow); setprop("/it-autoflight/output/vert", 5); setprop("/it-autoflight/mode/vert", "FPA"); - if (getprop("/it-autoflight/output/loc-armed") == 1) { + if (getprop("/it-autoflight/output/loc-armed")) { setprop("/it-autoflight/mode/arm", "LOC"); + } else if (getprop("/it-autoflight/input/lat-arm") == 1) { + setprop("/it-autoflight/mode/arm", "LNV"); } else { setprop("/it-autoflight/mode/arm", " "); } @@ -438,6 +446,8 @@ var vertical = func { setprop("/it-autoflight/internal/alt", altinput); if (getprop("/it-autoflight/output/loc-armed")) { setprop("/it-autoflight/mode/arm", "LOC"); + } else if (getprop("/it-autoflight/input/lat-arm") == 1) { + setprop("/it-autoflight/mode/arm", "LNV"); } else { setprop("/it-autoflight/mode/arm", " "); } @@ -458,6 +468,8 @@ var vertical = func { setprop("/it-autoflight/mode/vert", " "); if (getprop("/it-autoflight/output/loc-armed")) { setprop("/it-autoflight/mode/arm", "LOC"); + } else if (getprop("/it-autoflight/input/lat-arm") == 1) { + setprop("/it-autoflight/mode/arm", "LNV"); } else { setprop("/it-autoflight/mode/arm", " "); } diff --git a/revision.txt b/revision.txt index a57db8f5..927e0797 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -3040 \ No newline at end of file +3041 \ No newline at end of file