Skip to content

Commit

Permalink
fix build :/
Browse files Browse the repository at this point in the history
  • Loading branch information
flogross89 committed Apr 30, 2024
1 parent 897e322 commit a8ada8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export class GuidanceController {
// Don't compute distance and ETA for XM legs
const isXMLeg = activeLeg instanceof FMLeg || activeLeg instanceof VMLeg;
const efisDistance = isXMLeg ? -1 : Avionics.Utils.computeGreatCircleDistance(ppos, termination);
const efisEta = isXMLeg || !etaComputable ? -1 : LnavDriver.legEta(ppos, gs, termination);
const efisEta = isXMLeg || !etaComputable ? -1 : LnavDriver.legEta(ppos, gs, termination, this.acConfig);

// FIXME should be NCD if no FM position
this.updateEfisVars(efisBearing, efisTrueBearing, efisDistance, efisEta, 'L');
Expand Down

0 comments on commit a8ada8c

Please sign in to comment.