Open emre-h opened 3 years ago
Thanks for the PR!
Does this method come from the datasheet? Why do you readFloatPressure twice?
Hmm, it looks like t_fine gets set in readTempC and is used in readFloatPressure.
It has fixed the wrong calculation. You can try it with or without my two-line containing commit. (it will probably give the wrong meter calculation without this commit)
I have used the library and it was giving wrong altitude values because of not calling the readTempC() before calling readFloatAltitudeMeters(). Then I have called it and it has been fixed.