Skip to content

Commit

Permalink
fix: PRED W/S OFF Logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Eearslya committed Feb 9, 2023
1 parent ae231bc commit 318bc3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fbw-a32nx/src/systems/instruments/src/EWD/PseudoFWC.ts
Expand Up @@ -2002,8 +2002,8 @@ export class PseudoFWC {
side: 'RIGHT',
},
'0000540': { // PRED W/S OFF
flightPhaseInhib: [1, 10],
simVarIsActive: this.predWSOn.map((v) => !v),
flightPhaseInhib: [],
simVarIsActive: MappedSubject.create(([predWSOn, fwcFlightPhase]) => !predWSOn && ![1, 10].includes(fwcFlightPhase), this.predWSOn, this.fwcFlightPhase),
whichCodeToReturn: () => [[3, 4, 5, 7, 8, 9].includes(this.fwcFlightPhase.get()) || SimVar.GetSimVarValue('L:A32NX_TO_CONFIG_NORMAL', 'bool') ? 1 : 0],
codesToReturn: ['000054001', '000054002'],
memoInhibit: () => false,
Expand Down

0 comments on commit 318bc3a

Please sign in to comment.