BitOrder' has not been declared

When compiling example SHT31test under CubeCell -Third Party Sensor Examples I get the error:

libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:57:22: error: ‘BitOrder’ has not been declared
BitOrder dataOrder = SPI_BITORDER_MSBFIRST,

Any ideas?

I switched to the library arduino-sht and that works! (The library above which failed to compile was Adafruit SHT-31.)

I’m seeing the same issue with a different Adafruit library and reported the issue here https://github.com/HelTecAutomation/CubeCell-Arduino/issues/189

I can successfully compile this program.

Did you use a CubeCell Board or a CubeCell Board Plus?