diff --git a/A320-100-CFM-set.xml b/A320-100-CFM-set.xml
index 25d2b123..d6a4bb03 100644
--- a/A320-100-CFM-set.xml
+++ b/A320-100-CFM-set.xml
@@ -21,6 +21,13 @@
+
+ 4
+ 5
+ 5
+ 4
+
+
exterior
diff --git a/A320-200-CFM-set.xml b/A320-200-CFM-set.xml
index de87bf8c..609ce3a9 100644
--- a/A320-200-CFM-set.xml
+++ b/A320-200-CFM-set.xml
@@ -21,6 +21,13 @@
+
+ 4
+ 5
+ 5
+ 4
+
+
exterior
diff --git a/A320-200-IAE-set.xml b/A320-200-IAE-set.xml
index c097fe18..9b02aff7 100644
--- a/A320-200-IAE-set.xml
+++ b/A320-200-IAE-set.xml
@@ -21,6 +21,13 @@
+
+ 4
+ 5
+ 5
+ 4
+
+
exterior
diff --git a/A320-main.xml b/A320-main.xml
index 628dab69..51c4bfbf 100644
--- a/A320-main.xml
+++ b/A320-main.xml
@@ -9,13 +9,6 @@
Pre V1.0
-
- 4
- 5
- 5
- 4
-
-
false
false
diff --git a/A320neo-CFM-set.xml b/A320neo-CFM-set.xml
index 53dde178..30fac2aa 100644
--- a/A320neo-CFM-set.xml
+++ b/A320neo-CFM-set.xml
@@ -21,6 +21,13 @@
+
+ 4
+ 5
+ 5
+ 4
+
+
exterior
diff --git a/A320neo-PW-set.xml b/A320neo-PW-set.xml
index 18c07c08..ee228fe0 100644
--- a/A320neo-PW-set.xml
+++ b/A320neo-PW-set.xml
@@ -21,6 +21,13 @@
+
+ 4
+ 5
+ 5
+ 4
+
+
exterior
diff --git a/Nasal/FMGC-b.nas b/Nasal/FMGC-b.nas
index 460fc224..6ecacadb 100644
--- a/Nasal/FMGC-b.nas
+++ b/Nasal/FMGC-b.nas
@@ -331,13 +331,13 @@ var ITAF = {
if (Internal.altTemp >= Position.indicatedAltitudeFtTemp) {
Output.thrMode.setValue(2);
Text.thr.setValue("PITCH");
- if (Internal.flchActive) {
+ if (Internal.flchActive) { # Set before mode change to prevent it from overwriting by mistake
Text.vert.setValue("SPD CLB");
}
} else {
Output.thrMode.setValue(1);
Text.thr.setValue("PITCH");
- if (Internal.flchActive) {
+ if (Internal.flchActive) { # Set before mode change to prevent it from overwriting by mistake
Text.vert.setValue("SPD DES");
}
}
@@ -649,10 +649,12 @@ var ITAF = {
Text.vert.setValue("ALT CAP");
} else if (n == 4) { # FLCH
Output.apprArm.setBoolValue(0);
- Output.vert.setValue(1);
- Internal.alt.setValue(Input.alt.getValue());
- Internal.altDiff = Internal.alt.getValue() - Position.indicatedAltitudeFt.getValue();
- if (abs(Internal.altDiff) >= 250) { # SPD CLB or SPD DES
+ if (abs(Input.altDiff) >= 125) { # SPD CLB or SPD DES
+ if (Input.alt.getValue() >= Position.indicatedAltitudeFt.getValue()) { # Usually set Thrust Mode Selector, but we do it now due to timer lag
+ Text.vert.setValue("SPD CLB");
+ } else {
+ Text.vert.setValue("SPD DES");
+ }
Internal.altCaptureActive = 0;
Output.vert.setValue(4);
Internal.flchActive = 1;
diff --git a/revision.txt b/revision.txt
index 1488adde..bbeee9cd 100644
--- a/revision.txt
+++ b/revision.txt
@@ -1 +1 @@
-4803
\ No newline at end of file
+4804
\ No newline at end of file