diff options
Diffstat (limited to 'driver/baro_bmp280.h')
-rw-r--r-- | driver/baro_bmp280.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/driver/baro_bmp280.h b/driver/baro_bmp280.h index a3cb919a7c..f5070bd71d 100644 --- a/driver/baro_bmp280.h +++ b/driver/baro_bmp280.h @@ -74,8 +74,9 @@ * Bit 1 of 7-bit address: 0 - If SDO is connected to GND * Bit 1 of 7-bit address: 1 - If SDO is connected to Vddio */ -#define BMP280_I2C_ADDRESS1 ((0x76) << 1) -#define BMP280_I2C_ADDRESS2 ((0x77) << 1) +#define BMP280_I2C_ADDRESS1__7bf 0x76 +#define BMP280_I2C_ADDRESS2__7bf 0x77 + /* * CHIP ID */ |