-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(a380x/fms): fix DH to ensure value inferior or equal 1 #9120
base: master
Are you sure you want to change the base?
Conversation
Trying to resolve issue flybywiresim#9114
This only partially addresses #9114 if at all. @thomasshrm the image you tried to provide is not publicly accessible. |
Hi, sorry for the mistake |
Please add testing instructions |
@@ -2524,6 +2524,8 @@ export class MfdFmsPerf extends FmsPage<MfdFmsPerfProps> { | |||
SimVar.SetSimVarValue('L:AIRLINER_DECISION_HEIGHT', 'feet', -1); | |||
} else if (v === null) { | |||
SimVar.SetSimVarValue('L:AIRLINER_DECISION_HEIGHT', 'feet', -2); | |||
} else if (v > 1) { | |||
SimVar.SetSimVarValue('L:AIRLINER_DECISION_HEIGHT', 'feet', -1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not do what was intended at all, and will actually totally break the minima.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, we must not merge the PR in the current state
Partially Fixes 9114
Summary of Changes
Adding a check to ensure the value can't be superior to 1
Screenshots (if necessary)
References
https://private-user-images.githubusercontent.com/58574351/378502108-66cea740-d823-4c28-8f8b-9c4dbf7a02af.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjk2MTMyNDUsIm5iZiI6MTcyOTYxMjk0NSwicGF0aCI6Ii81ODU3NDM1MS8zNzg1MDIxMDgtNjZjZWE3NDAtZDgyMy00YzI4LThmOGItOWM0ZGJmN2EwMmFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDEwMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMDIyVDE2MDIyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlhY2Q1YTZkZWJhMzUyMDgyZDY3MjZmNDhlZDU2ODYzZTQ3YTI2ZmQxNWQ1NTYwNWVlMzZhMmNiMDk1MTA5NmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.CJWBl_JJON4t_9HWIkaXrvLnqJGCXKnpZxjHTTawpBI
Additional context
Discord username (if different from GitHub): tommytknuckles
Testing instructions
How to download the PR for QA
Every new commit to this PR will cause new A32NX and A380X artifacts to be created, built, and uploaded.