Skip to content

SPI.h is inculed althought BME280Spi is not in use #128

@FrederikWolter

Description

@FrederikWolter

Expected behavior

If you are not using the BME280Spi part of the library, I would expect that the SPI.h library is not needed.
As is the case with BME280I2C_BRZO with brzo_i2c.h

Actual behavior

Compiling my project in platformio for VSCode throws the following error:
grafik
I don't really know why the SPI.h could not be found. But the point is it shouldn't be able to be found at all. If I comment out the content of BME280SPI.cpp, my code works fine.

Steps to reporduce the behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions