1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/bmx280: increase CALIB_T_P_LEN

This commit is contained in:
Kaspar Schleiser 2020-02-24 14:16:47 +01:00
parent 0a4cc06d44
commit 8a909b1f9a

View File

@ -113,7 +113,7 @@ extern "C" {
* @{
*/
#define CALIB_T_P_BASE (BMX280_DIG_T1_LSB_REG)
#define CALIB_T_P_LEN (17U)
#define CALIB_T_P_LEN (32U) /* might be larger than needed */
#define OFFSET_T_P(x) (x - CALIB_T_P_BASE)
#if defined(MODULE_BME280_SPI) || defined(MODULE_BME280_I2C)
#define CALIB_H_BASE (BME280_DIG_H2_LSB_REG)