mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 07:23:07 +01:00
#71: add BMP280 and env IV to cibuild
This commit is contained in:
@@ -39,8 +39,7 @@ class BMP280Config : public IICSensorBase{
|
||||
}
|
||||
virtual bool isActive(){return prAct||tmAct;}
|
||||
virtual bool initDevice(GwApi *api,TwoWire *wire){
|
||||
GwLog *logger=api->getLogger();
|
||||
//Wire.begin(GWIIC_SDA,GWIIC_SCL);
|
||||
GwLog *logger=api->getLogger();
|
||||
device= new Adafruit_BMP280(wire);
|
||||
if (! device->begin(addr)){
|
||||
LOG_DEBUG(GwLog::ERROR,"unable to initialize %s at %d",prefix.c_str(),addr);
|
||||
|
||||
Reference in New Issue
Block a user