Updated pressure altimiter code