adafruit / Adafruit_BME680

127 stars 76 forks source link

Build error with debug enabled #23

Closed kugel2 closed 5 years ago

kugel2 commented 5 years ago

Hi,

when i enabled the debug option in the Adafruit_BME680.cpp file with #define BME680_DEBUG the compilation fails with: Adafruit_BME680.cpp: In member function 'bool Adafruit_BME680::endReading()': Adafruit_BME680.cpp:338:51: error: 'meas_period' was not declared in this scope

I guess this happend in 7e5a79b6bc3e1e56d32506f0eb03e5f188887345 which changed the name of the variable from meas_period to remaining_millis.