This commit is contained in:
reloxx13 2018-10-28 21:59:34 +01:00 committed by GitHub
parent bf6ac243e5
commit 756bbc33cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
/* /*
xsns_09_bmp.ino - BMP pressure, temperature, humidity and gas sensor support for Sonoff-Tasmota xsns_09_bmp2x.ino - BMP pressure, temperature, humidity and gas sensor support for Sonoff-Tasmota
Copyright (C) 2018 Heiko Krupp and Theo Arends Copyright (C) 2018 Heiko Krupp and Theo Arends
@ -43,7 +43,7 @@ const char kBmpTypes[] PROGMEM = "BMP1802X|BMP2802X|BME2802X|BME6802X";
uint8_t bmp_addresses[] = { BMP_ADDR1, BMP_ADDR2 }; uint8_t bmp_addresses[] = { BMP_ADDR1, BMP_ADDR2 };
uint8_t bmp2x_count = 0; uint8_t bmp2x_count = 0;
struct BMP2xSTRUCT { struct BMP2XSTRUCT {
uint8_t bmp_address; // I2C bus address uint8_t bmp_address; // I2C bus address
char bmp_name[9]; // Sensor name - "BMPXXX2x" char bmp_name[9]; // Sensor name - "BMPXXX2x"
uint8_t bmp_type = 0; uint8_t bmp_type = 0;