Skip to content

Commit 636623e

Browse files
Maximilian-ReuterSaschl
authored andcommitted
fix(fwc): Fixes the Master Warning on startup (#8267)
* Fixes the issue * removed leftover logging
1 parent 981b6b4 commit 636623e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

fbw-a32nx/src/systems/instruments/src/EWD/PseudoFWC.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,9 @@ export class PseudoFWC {
920920

921921
this.computedAirSpeed.set(Arinc429Word.fromSimVarValue('L:A32NX_ADIRS_ADR_1_COMPUTED_AIRSPEED'));
922922

923+
// needs to happen before dual eng failure check
924+
this.aircraftOnGround.set(SimVar.GetSimVarValue('SIM ON GROUND', 'Bool'));
925+
923926
/* ENGINE AND THROTTLE */
924927

925928
this.engine1State.set(SimVar.GetSimVarValue('L:A32NX_ENGINE_STATE:1', 'Enum'));
@@ -1021,7 +1024,7 @@ export class PseudoFWC {
10211024
// const [right1LandingGear] = useSimVar('L:A32NX_LGCIU_1_RIGHT_GEAR_COMPRESSED', 'bool', 500);
10221025
// const aircraftOnGround = left1LandingGear === 1 || right1LandingGear === 1;
10231026
// FIXME The landing gear triggers the dual engine failure on loading
1024-
this.aircraftOnGround.set(SimVar.GetSimVarValue('SIM ON GROUND', 'Bool'));
1027+
10251028
this.antiskidActive.set(SimVar.GetSimVarValue('ANTISKID BRAKES ACTIVE', 'bool'));
10261029
this.brakeFan.set(SimVar.GetSimVarValue('L:A32NX_BRAKE_FAN', 'bool'));
10271030
this.brakesHot.set(SimVar.GetSimVarValue('L:A32NX_BRAKES_HOT', 'bool'));

0 commit comments

Comments
 (0)