adafruit / Adafruit_BME680

117 stars 75 forks source link

Possible error in pressure calculation #9

Closed paulcrawford closed 5 years ago

paulcrawford commented 6 years ago

In the file Adafruit_BME680.cpp, it appears that the final pressure calculation on line 338 is missing a factor of "/ 100.0".

The "/ 100.0" is correctly in the previous line 337, but it is in a commented debug print statement so it has no effect on the resultant pressure value.

ladyada commented 5 years ago

nope its ok - we return in hPa - the println is mistaken tho :D fixed now!