Skip to content

Commit

Permalink
fix(a380x/pfd): remove debug altitude injection (flybywiresim#8475)
Browse files Browse the repository at this point in the history
remove debug altitude injection
  • Loading branch information
flogross89 authored Feb 9, 2024
1 parent a0b5246 commit 679a4f1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ export class DigitalAltitudeReadout extends DisplayComponent<DigitalAltitudeRead
const color = (this.mda !== 0 && altitude.value < this.mda) ? 'Amber' : 'Green';
this.colorSub.set(color);

// const absAlt = Math.abs(Math.max(Math.min(altitude.value, 50000), -1500));
const absAlt = 24223;
const absAlt = Math.abs(Math.max(Math.min(altitude.value, 50000), -1500));
const tensDigits = absAlt % 100;
this.tenDigitsSub.set(tensDigits);

Expand Down

0 comments on commit 679a4f1

Please sign in to comment.