Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions bme280_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@
#define BME280_CTRL_TEMP_MSK UINT8_C(0xE0)
#define BME280_CTRL_TEMP_POS UINT8_C(0x05)

#define BME280_FILTER_MSK UINT8_C(0x1C)
#define BME280_FILTER_POS UINT8_C(0x02)
#define BME280_FILTER_MSK UINT8_C(0x0E)
#define BME280_FILTER_POS UINT8_C(0x01)

#define BME280_STANDBY_MSK UINT8_C(0xE0)
#define BME280_STANDBY_POS UINT8_C(0x05)
#define BME280_STANDBY_MSK UINT8_C(0x70)
#define BME280_STANDBY_POS UINT8_C(0x04)

/**\name Sensor component selection macros
These values are internal for API implementation. Don't relate this to
Expand All @@ -217,7 +217,7 @@
#define BME280_OVERSAMPLING_16X UINT8_C(0x05)

/**\name Standby duration selection macros */
#define BME280_STANDBY_TIME_1_MS (0x00)
#define BME280_STANDBY_TIME_05_MS (0x00)
#define BME280_STANDBY_TIME_62_5_MS (0x01)
#define BME280_STANDBY_TIME_125_MS (0x02)
#define BME280_STANDBY_TIME_250_MS (0x03)
Expand Down