Skip to content

Commit

Permalink
fix(fwc): Fixes the Master Warning on startup (#8267)
Browse files Browse the repository at this point in the history
* Fixes the issue

* removed leftover logging
  • Loading branch information
Maximilian-Reuter authored and Saschl committed Oct 26, 2023
1 parent 981b6b4 commit 636623e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fbw-a32nx/src/systems/instruments/src/EWD/PseudoFWC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,9 @@ export class PseudoFWC {

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

// needs to happen before dual eng failure check
this.aircraftOnGround.set(SimVar.GetSimVarValue('SIM ON GROUND', 'Bool'));

/* ENGINE AND THROTTLE */

this.engine1State.set(SimVar.GetSimVarValue('L:A32NX_ENGINE_STATE:1', 'Enum'));
Expand Down Expand Up @@ -1021,7 +1024,7 @@ export class PseudoFWC {
// const [right1LandingGear] = useSimVar('L:A32NX_LGCIU_1_RIGHT_GEAR_COMPRESSED', 'bool', 500);
// const aircraftOnGround = left1LandingGear === 1 || right1LandingGear === 1;
// FIXME The landing gear triggers the dual engine failure on loading
this.aircraftOnGround.set(SimVar.GetSimVarValue('SIM ON GROUND', 'Bool'));

this.antiskidActive.set(SimVar.GetSimVarValue('ANTISKID BRAKES ACTIVE', 'bool'));
this.brakeFan.set(SimVar.GetSimVarValue('L:A32NX_BRAKE_FAN', 'bool'));
this.brakesHot.set(SimVar.GetSimVarValue('L:A32NX_BRAKES_HOT', 'bool'));
Expand Down

0 comments on commit 636623e

Please sign in to comment.