-
-
Notifications
You must be signed in to change notification settings - Fork 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
Engine 2 used fuel does not reset for second leg #6301
Comments
I checked the code in enginecontrol.h The code from issue #5486 is still the same. There are several different named vars used for fuel used now. It could that this is a display issue in the ECAM code or somewhere outside of enginecontrol.h the setFuelUsedRight is updated. I have not kept track of this function. It worked correctly at the time, but when it broke? |
I just had a brief look at the code to see if I could find anything and this looked suspicious. I'm not familiar with the actual coding of anything so I guess I am wrong and someone more competent needs to look at this. I believe it broke after #5895 got merged or somewhere around that time but could be wrong because I only noticed it after doing multiple legs shortly after. Edit: Closure of the issue after this comment was a misclick. |
Thank you @John-UK for finding the problem with this issue. I have made a small fix in the code for PR#6284 which should be merged soon. |
Aircraft Version
Development
Build info
Describe the bug
When doing multiple legs engine 2 used fuel doesn't reset on engine start for second leg. Engine 2 start instead resets engine 1 used fuel. Engine 1 used fuel reset works correctly.
Expected behavior
Engine 2 to reset used fuel for engine 2.
Steps to reproduce
References (optional)
Additional info (optional)
I suspect it is just a single wrong simvar (FuelUsedLeft instead of FuelUsedRight) in the EngineControl file but I can't really confirm as I'm too dumb to build the thing myself.
Discord Username (optional)
Mico#3145
The text was updated successfully, but these errors were encountered: