make BMP280 working with groove config

This commit is contained in:
andreas 2024-11-15 21:39:35 +01:00
parent 7a6eba4b86
commit 70fb1b3633
2 changed files with 2 additions and 2 deletions

View File

@ -140,6 +140,7 @@ class BME280Config : public IICSensorBase{
busId = 2;
addr = 0x77;
CFG280(BME28022);
ok=true;
}
intv *= 1000;
}

View File

@ -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;
}