C++ code returning incorrect information on raspberry pi

Hi, I am using MS5805-02BA01 Miniature 24-Bit Altimeter 300 to 1200 mbar 20cm Altitude Resolution 2.5 x 1mm O-ring Sealing I2C Mini Module with raspberry pi and i have dowloaded C code from ControlEverythingCommunity and I am unable to get correct altimeter data, whilst the temperature data appears to be moderately correct. I also want to know if it’d be possible to run the code with little, or no, sleep function in the code, as what I am attempting to use it for needs to run as fast as possible.

Thanks for any help!