sparkfun/SparkFun_BME280_Arduino_Library

Compilation error with ESP32 MSBFIRST

1technophile opened this issue · 1 comments

With version 1.2.0 of the library I get the following error at compilation time:
error: 'MSBFIRST' was not declared in this scope
I'm using the latest arduino ESP32 env

If I add #include <Arduino.h> into the SparkFunBME280.cpp the compilation works
See also:
platformio/platform-espressif32#34

Thanks! This has been moved to the SparkFuBME280.h file.