FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Changed variable name struct SensorSettings -> BME280_SensorSettings by calvin1564 · Pull Request #34 · sparkfun/SparkFun_BME280_Arduino_Library · GitHub

Changed variable name struct SensorSettings -> BME280_SensorSettings - #34

Merged
nseidle merged 1 commit into
sparkfun:masterfrom
calvin1564:master
Oct 7, 2019
Merged

Changed variable name struct SensorSettings -> BME280_SensorSettings#34
nseidle merged 1 commit into
sparkfun:masterfrom
calvin1564:master

Conversation

Copy link
Copy Markdown
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 merged commit fa315c4 into sparkfun:master Oct 7, 2019

nseidle commented Oct 7, 2019

Copy link
Copy Markdown
Member

Good simple fix. Thanks!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL