iio: chemical: bme680: indent #defines consistently
Signed-off-by: David Frey <dpfrey@gmail.com> Reviewed-by: Himanshu Jha <himanshujha199640@gmail.com> Tested-by: Himanshu Jha <himanshujha199640@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Родитель
6784ba340a
Коммит
70f1cbddb2
|
@ -18,6 +18,7 @@
|
|||
#define BME680_REG_GAS_MSB 0x2A
|
||||
#define BME680_REG_GAS_R_LSB 0x2B
|
||||
#define BME680_GAS_STAB_BIT BIT(4)
|
||||
#define BME680_GAS_RANGE_MASK 0x0F
|
||||
|
||||
#define BME680_REG_CTRL_HUMIDITY 0x72
|
||||
#define BME680_OSRS_HUMIDITY_MASK GENMASK(2, 0)
|
||||
|
@ -26,7 +27,6 @@
|
|||
#define BME680_OSRS_TEMP_MASK GENMASK(7, 5)
|
||||
#define BME680_OSRS_PRESS_MASK GENMASK(4, 2)
|
||||
#define BME680_MODE_MASK GENMASK(1, 0)
|
||||
|
||||
#define BME680_MODE_FORCED 1
|
||||
#define BME680_MODE_SLEEP 0
|
||||
|
||||
|
@ -48,7 +48,6 @@
|
|||
#define BME680_RSERROR_MSK 0xF0
|
||||
#define BME680_REG_RES_HEAT_0 0x5A
|
||||
#define BME680_REG_GAS_WAIT_0 0x64
|
||||
#define BME680_GAS_RANGE_MASK 0x0F
|
||||
#define BME680_ADC_GAS_RES_SHIFT 6
|
||||
#define BME680_AMB_TEMP 25
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче