Does the engine automatically lean the fuel ratio as altitude changes?
The electronic control unit (ECU) has a built in pressure sensor that, along with the intake air temperature, determines density altitude. The ECU then uses its mapped parameters and this information (along with throttle position and RPM) to vary the injector duration and attain in the correct fuel delivery for the given altitude.