Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed variable name struct SensorSettings -> BME280_SensorSettings #34

Merged
merged 1 commit into from
Oct 7, 2019

Conversation

calvin1564
Copy link
Contributor

You run in to problems when using the BME280 in conjunction with the SparkFun LSM6DS3, as both libraries use the struct name SensorSettings.

When compiling two errors are thrown:

C:...\SparkFun_LSM6DS3_Arduino_Library\src/SparkFunLSM6DS3.h:95:8: error: redefinition of 'struct SensorSettings'

and

C:...\SparkFun_BME280_Arduino_Library\src/SparkFunBME280.h:115:8: error: previous definition of 'struct SensorSettings'

I've found no issues after making the name change from SensorSettings to BME280_SensorSettings.

@nseidle nseidle merged commit fa315c4 into sparkfun:master Oct 7, 2019
@nseidle
Copy link
Member

nseidle commented Oct 7, 2019

Good simple fix. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants