Zanduino / BME680

Arduino Library to access the Bosch BME680 - temperature, pressure, humidity and gas sensor
GNU General Public License v3.0
37 stars 10 forks source link

corrected bit mask for setting oversample of PressureSensor #6

Closed michelheil closed 4 years ago

michelheil commented 4 years ago

According to BME680 data sheet the bits osrs_p are located on bit4..2 within the BME680_CONTROL_MEASURE_REGISTER. It looked like there was a small typo within the code which is now corrected.

.... the change is too small for a thorough pull request template :)

Description

Please include a text summary of the change and which issue(s) is/are fixed or addressed. Should the change have any dependencies then these should be listed here.

Fixes # (issue) In order to make tracking easier and to properly document the process, pull requests should always refer to an active issue in the list - be it a bug fix or an enhancement or some other type of issue.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Checklist:

Zanshin Logo