mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
make BMP280 working with groove config
This commit is contained in:
@@ -140,6 +140,7 @@ class BME280Config : public IICSensorBase{
|
||||
busId = 2;
|
||||
addr = 0x77;
|
||||
CFG280(BME28022);
|
||||
ok=true;
|
||||
}
|
||||
intv *= 1000;
|
||||
}
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
#ifdef _GWIIC
|
||||
#if defined(GWBMP280) || defined(GWBMP28011) || defined(GWBMP28012)|| defined(GWBMP28021)|| defined(GWBMP28022)
|
||||
#define _GWBMP280
|
||||
#else
|
||||
#undef _GWBMP280
|
||||
#endif
|
||||
#else
|
||||
#undef _GWBMP280
|
||||
@@ -126,6 +124,7 @@ class BMP280Config : public IICSensorBase{
|
||||
busId = 2;
|
||||
addr = 0x77;
|
||||
CFGBMP280(BMP28022);
|
||||
ok=true;
|
||||
}
|
||||
intv *= 1000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user