drivers/bmx280: provide correct CALIB_T_P_LEN
This commit is contained in:
parent
c11e8df463
commit
01818ed4e8
@ -113,7 +113,7 @@ extern "C" {
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#define CALIB_T_P_BASE (BMX280_DIG_T1_LSB_REG)
|
#define CALIB_T_P_BASE (BMX280_DIG_T1_LSB_REG)
|
||||||
#define CALIB_T_P_LEN (32U) /* might be larger than needed */
|
#define CALIB_T_P_LEN (24U)
|
||||||
#define OFFSET_T_P(x) (x - CALIB_T_P_BASE)
|
#define OFFSET_T_P(x) (x - CALIB_T_P_BASE)
|
||||||
#if defined(MODULE_BME280_SPI) || defined(MODULE_BME280_I2C)
|
#if defined(MODULE_BME280_SPI) || defined(MODULE_BME280_I2C)
|
||||||
#define CALIB_H_BASE (BME280_DIG_H2_LSB_REG)
|
#define CALIB_H_BASE (BME280_DIG_H2_LSB_REG)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user