diff --git a/src/components/i2c/drivers/WipperSnapper_I2C_Driver_BME680.h b/src/components/i2c/drivers/WipperSnapper_I2C_Driver_BME680.h index 276f181dc..46231dcb4 100644 --- a/src/components/i2c/drivers/WipperSnapper_I2C_Driver_BME680.h +++ b/src/components/i2c/drivers/WipperSnapper_I2C_Driver_BME680.h @@ -130,7 +130,7 @@ class WipperSnapper_I2C_Driver_BME680 : public WipperSnapper_I2C_Driver { bool getEventPressure(sensors_event_t *pressureEvent) { if (!bmePerformReading()) return false; - pressureEvent->pressure = (float)_bme->pressure; + pressureEvent->pressure = (float)_bme->pressure / 100.0; return true; } @@ -172,4 +172,4 @@ class WipperSnapper_I2C_Driver_BME680 : public WipperSnapper_I2C_Driver { Adafruit_BME680 *_bme; ///< BME680 object }; -#endif // WipperSnapper_I2C_Driver_BME680 \ No newline at end of file +#endif // WipperSnapper_I2C_Driver_BME680