Skip to content

Commit

Permalink
make BMP280 working with groove config
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas committed Nov 15, 2024
1 parent 7a6eba4 commit 70fb1b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/iictask/GwBME280.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ class BME280Config : public IICSensorBase{
busId = 2;
addr = 0x77;
CFG280(BME28022);
ok=true;
}
intv *= 1000;
}
Expand Down
3 changes: 1 addition & 2 deletions lib/iictask/GwBMP280.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -126,6 +124,7 @@ class BMP280Config : public IICSensorBase{
busId = 2;
addr = 0x77;
CFGBMP280(BMP28022);
ok=true;
}
intv *= 1000;
}
Expand Down

0 comments on commit 70fb1b3

Please sign in to comment.